UNPKG

1.88 kBJSONView Raw
1{
2 "name": "rollup-plugin-commonjs",
3 "version": "10.1.0",
4 "description": "Convert CommonJS modules to ES2015",
5 "main": "dist/rollup-plugin-commonjs.cjs.js",
6 "module": "dist/rollup-plugin-commonjs.es.js",
7 "jsnext:main": "dist/rollup-plugin-commonjs.es.js",
8 "scripts": {
9 "test": "npm run test:only",
10 "test:only": "mocha && tsc",
11 "pretest": "npm run build",
12 "build": "shx rm -rf dist/* && rollup -c",
13 "dev": "rollup -c -w",
14 "lint": "prettier --write src/**/*.js test/test.js test/**/_config.js && eslint --fix src/**/*.js test/test.js test/**/_config.js",
15 "prepublishOnly": "npm run lint && npm run test:only",
16 "prepare": "npm run build"
17 },
18 "files": [
19 "src",
20 "dist",
21 "index.d.ts",
22 "README.md"
23 ],
24 "peerDependencies": {
25 "rollup": ">=1.12.0"
26 },
27 "dependencies": {
28 "estree-walker": "^0.6.1",
29 "is-reference": "^1.1.2",
30 "magic-string": "^0.25.2",
31 "resolve": "^1.11.0",
32 "rollup-pluginutils": "^2.8.1"
33 },
34 "devDependencies": {
35 "@babel/core": "^7.4.5",
36 "@babel/preset-env": "^7.4.5",
37 "@babel/register": "^7.4.4",
38 "acorn": "^6.1.1",
39 "eslint": "^6.0.1",
40 "eslint-plugin-import": "^2.18.0",
41 "husky": "^2.4.1",
42 "lint-staged": "^8.2.1",
43 "locate-character": "^2.0.5",
44 "mocha": "^6.1.4",
45 "prettier": "^1.18.2",
46 "require-relative": "^0.8.7",
47 "rollup": "^1.16.2",
48 "rollup-plugin-babel": "^4.3.3",
49 "rollup-plugin-json": "^4.0.0",
50 "rollup-plugin-node-resolve": "^5.1.0",
51 "shx": "^0.3.2",
52 "source-map": "^0.6.1",
53 "source-map-support": "^0.5.12",
54 "typescript": "^3.5.2"
55 },
56 "repository": "rollup/rollup-plugin-commonjs",
57 "author": "Rich Harris",
58 "license": "MIT",
59 "bugs": {
60 "url": "https://github.com/rollup/rollup-plugin-commonjs/issues"
61 },
62 "homepage": "https://github.com/rollup/rollup-plugin-commonjs"
63}