UNPKG

2.34 kBJSONView Raw
1{
2 "name": "@rollup/plugin-commonjs",
3 "version": "28.0.0",
4 "publishConfig": {
5 "access": "public"
6 },
7 "description": "Convert CommonJS modules to ES2015",
8 "license": "MIT",
9 "repository": {
10 "url": "rollup/plugins",
11 "directory": "packages/commonjs"
12 },
13 "author": "Rich Harris <richard.a.harris@gmail.com>",
14 "homepage": "https://github.com/rollup/plugins/tree/master/packages/commonjs/#readme",
15 "bugs": "https://github.com/rollup/plugins/issues",
16 "main": "./dist/cjs/index.js",
17 "module": "./dist/es/index.js",
18 "exports": {
19 "types": "./types/index.d.ts",
20 "import": "./dist/es/index.js",
21 "default": "./dist/cjs/index.js"
22 },
23 "engines": {
24 "node": ">=16.0.0 || 14 >= 14.17"
25 },
26 "files": [
27 "dist",
28 "!dist/**/*.map",
29 "types",
30 "README.md",
31 "LICENSE"
32 ],
33 "keywords": [
34 "rollup",
35 "plugin",
36 "npm",
37 "modules",
38 "commonjs",
39 "require"
40 ],
41 "peerDependencies": {
42 "rollup": "^2.68.0||^3.0.0||^4.0.0"
43 },
44 "peerDependenciesMeta": {
45 "rollup": {
46 "optional": true
47 }
48 },
49 "dependencies": {
50 "@rollup/pluginutils": "^5.0.1",
51 "commondir": "^1.0.1",
52 "estree-walker": "^2.0.2",
53 "fdir": "^6.1.1",
54 "is-reference": "1.2.1",
55 "magic-string": "^0.30.3",
56 "picomatch": "^2.3.1"
57 },
58 "devDependencies": {
59 "@rollup/plugin-json": "^5.0.0",
60 "@rollup/plugin-node-resolve": "^15.0.0",
61 "locate-character": "^2.0.5",
62 "require-relative": "^0.8.7",
63 "rollup": "^4.0.0-24",
64 "source-map": "^0.7.4",
65 "source-map-support": "^0.5.21",
66 "typescript": "^4.8.3"
67 },
68 "types": "./types/index.d.ts",
69 "ava": {
70 "workerThreads": false,
71 "files": [
72 "!**/fixtures/**",
73 "!**/helpers/**",
74 "!**/recipes/**",
75 "!**/types.ts"
76 ]
77 },
78 "scripts": {
79 "build": "rollup -c",
80 "ci:coverage": "nyc pnpm test && nyc report --reporter=text-lcov > coverage.lcov",
81 "ci:lint": "pnpm build && pnpm lint",
82 "ci:lint:commits": "commitlint --from=${CIRCLE_BRANCH} --to=${CIRCLE_SHA1}",
83 "ci:test": "pnpm test -- --verbose && pnpm test:ts",
84 "prebuild": "del-cli dist",
85 "prerelease": "pnpm build",
86 "pretest": "pnpm build",
87 "release": "pnpm --workspace-root package:release $(pwd)",
88 "test": "ava",
89 "test:ts": "tsc types/index.d.ts test/types.ts --noEmit"
90 }
91}
\No newline at end of file