85 lines
2.1 KiB
JSON
85 lines
2.1 KiB
JSON
|
{
|
||
|
"name": "@rollup/plugin-commonjs",
|
||
|
"version": "21.1.0",
|
||
|
"publishConfig": {
|
||
|
"access": "public"
|
||
|
},
|
||
|
"description": "Convert CommonJS modules to ES2015",
|
||
|
"license": "MIT",
|
||
|
"repository": {
|
||
|
"url": "rollup/plugins",
|
||
|
"directory": "packages/commonjs"
|
||
|
},
|
||
|
"author": "Rich Harris <richard.a.harris@gmail.com>",
|
||
|
"homepage": "https://github.com/rollup/plugins/tree/master/packages/commonjs/#readme",
|
||
|
"bugs": "https://github.com/rollup/plugins/issues",
|
||
|
"main": "dist/index.js",
|
||
|
"module": "dist/index.es.js",
|
||
|
"engines": {
|
||
|
"node": ">= 8.0.0"
|
||
|
},
|
||
|
"scripts": {
|
||
|
"build": "rollup -c",
|
||
|
"ci:coverage": "nyc pnpm test && nyc report --reporter=text-lcov > coverage.lcov",
|
||
|
"ci:lint": "pnpm build && pnpm lint",
|
||
|
"ci:lint:commits": "commitlint --from=${CIRCLE_BRANCH} --to=${CIRCLE_SHA1}",
|
||
|
"ci:test": "pnpm test -- --verbose && pnpm test:ts",
|
||
|
"prebuild": "del-cli dist",
|
||
|
"prepare": "if [ ! -d 'dist' ]; then pnpm build; fi",
|
||
|
"prerelease": "pnpm build",
|
||
|
"pretest": "pnpm build",
|
||
|
"release": "pnpm plugin:release --workspace-root -- --pkg $npm_package_name",
|
||
|
"test": "ava",
|
||
|
"test:ts": "tsc types/index.d.ts test/types.ts --noEmit"
|
||
|
},
|
||
|
"files": [
|
||
|
"dist",
|
||
|
"types",
|
||
|
"README.md",
|
||
|
"LICENSE"
|
||
|
],
|
||
|
"keywords": [
|
||
|
"rollup",
|
||
|
"plugin",
|
||
|
"npm",
|
||
|
"modules",
|
||
|
"commonjs",
|
||
|
"require"
|
||
|
],
|
||
|
"peerDependencies": {
|
||
|
"rollup": "^2.38.3"
|
||
|
},
|
||
|
"dependencies": {
|
||
|
"@rollup/pluginutils": "^3.1.0",
|
||
|
"commondir": "^1.0.1",
|
||
|
"estree-walker": "^2.0.1",
|
||
|
"glob": "^7.1.6",
|
||
|
"is-reference": "^1.2.1",
|
||
|
"magic-string": "^0.25.7",
|
||
|
"resolve": "^1.17.0"
|
||
|
},
|
||
|
"devDependencies": {
|
||
|
"@rollup/plugin-json": "^4.1.0",
|
||
|
"@rollup/plugin-node-resolve": "^8.4.0",
|
||
|
"locate-character": "^2.0.5",
|
||
|
"require-relative": "^0.8.7",
|
||
|
"rollup": "^2.67.3",
|
||
|
"shx": "^0.3.2",
|
||
|
"source-map": "^0.7.3",
|
||
|
"source-map-support": "^0.5.19",
|
||
|
"typescript": "^3.9.7"
|
||
|
},
|
||
|
"types": "types/index.d.ts",
|
||
|
"ava": {
|
||
|
"babel": {
|
||
|
"compileEnhancements": false
|
||
|
},
|
||
|
"files": [
|
||
|
"!**/fixtures/**",
|
||
|
"!**/helpers/**",
|
||
|
"!**/recipes/**",
|
||
|
"!**/types.ts"
|
||
|
]
|
||
|
}
|
||
|
}
|