UNPKG

5.22 kBJSONView Raw
1{
2 "name": "rollup",
3 "version": "1.16.6",
4 "description": "Next-generation ES module bundler",
5 "main": "dist/rollup.js",
6 "module": "dist/rollup.es.js",
7 "jsnext:main": "dist/rollup.es.js",
8 "typings": "dist/rollup.d.ts",
9 "bin": {
10 "rollup": "./bin/rollup"
11 },
12 "scripts": {
13 "build": "shx rm -rf dist && git rev-parse HEAD > .commithash && rollup -c && shx cp src/rollup/types.d.ts dist/rollup.d.ts && shx chmod a+x bin/rollup",
14 "build:test": "shx rm -rf dist && rollup -c --configNoBrowser && shx cp src/rollup/types.d.ts dist/rollup.d.ts && shx chmod a+x bin/rollup",
15 "build:bootstrap": "bin/rollup -c && shx cp src/rollup/types.d.ts dist/rollup.d.ts && shx chmod a+x bin/rollup",
16 "ci:coverage": "npm run test:coverage",
17 "ci:lint": "npm run lint:nofix && npm run security",
18 "ci:test": "npm run build:test && npm run build:bootstrap && npm run test:all",
19 "ci:test_12": "npm run build:test && npm run build:bootstrap && npm run test:only && npm run test:typescript",
20 "lint": "npm run lint:ts -- --fix && npm run lint:js -- --fix && npm run lint:markdown",
21 "lint:nofix": "npm run lint:ts && npm run lint:js && npm run lint:markdown",
22 "lint:ts": "tslint --project .",
23 "lint:js": "eslint test/test.js test/*/index.js test/utils.js test/**/_config.js",
24 "lint:markdown": "markdownlint --config markdownlint.json docs/**/*.md",
25 "perf": "npm run build:test && node --expose-gc scripts/perf.js",
26 "perf:debug": "node --inspect-brk scripts/perf-debug.js",
27 "perf:init": "node scripts/perf-init.js",
28 "posttest:coverage": "remap-istanbul -i coverage/coverage-final.json -o coverage/coverage-remapped.json -b dist && remap-istanbul -i coverage/coverage-final.json -o coverage/coverage-remapped.lcov -t lcovonly -b dist && remap-istanbul -i coverage/coverage-final.json -o coverage/coverage-remapped -t html -b dist",
29 "prepare": "npm run build",
30 "prepublishOnly": "npm ci && npm run lint:nofix && npm run security && npm run build:bootstrap && npm run test:all",
31 "pretest": "npm run build:test",
32 "pretest:coverage": "npm run build:test",
33 "pretest:typescript": "shx rm -rf test/typescript/dist && shx cp -r dist test/typescript/",
34 "security": "npm audit",
35 "test": "npm run test:all",
36 "test:all": "npm run test:only && npm run test:typescript && npm run test:leak",
37 "test:coverage": "shx rm -rf coverage/* && istanbul cover --report json node_modules/.bin/_mocha -- -u exports -R spec test/test.js",
38 "test:leak": "npm i --silent --no-save weak@1 && node --expose-gc test/leak/index.js",
39 "test:only": "mocha",
40 "test:quick": "mocha -b",
41 "test:typescript": "tsc --noEmit -p test/typescript && tsc --noEmit",
42 "watch": "rollup -cw"
43 },
44 "repository": "rollup/rollup",
45 "keywords": [
46 "modules",
47 "bundler",
48 "bundling",
49 "es6",
50 "optimizer"
51 ],
52 "author": "Rich Harris",
53 "contributors": [
54 "Oskar Segersvärd <victorystick@gmail.com>",
55 "Bogdan Chadkin <trysound@yandex.ru>"
56 ],
57 "license": "MIT",
58 "bugs": {
59 "url": "https://github.com/rollup/rollup/issues"
60 },
61 "homepage": "https://github.com/rollup/rollup",
62 "dependencies": {
63 "@types/estree": "0.0.39",
64 "@types/node": "^12.0.10",
65 "acorn": "^6.1.1"
66 },
67 "devDependencies": {
68 "@types/chokidar": "^2.1.3",
69 "@types/micromatch": "^3.1.0",
70 "@types/minimist": "^1.2.0",
71 "acorn-bigint": "^0.4.0",
72 "acorn-dynamic-import": "^4.0.0",
73 "acorn-import-meta": "^1.0.0",
74 "acorn-jsx": "^5.0.1",
75 "acorn-walk": "^6.1.1",
76 "buble": "^0.19.7",
77 "chokidar": "^2.1.6",
78 "console-group": "^0.3.3",
79 "core-js": "^3.1.4",
80 "date-time": "^3.1.0",
81 "es5-shim": "^4.5.13",
82 "es6-shim": "^0.35.5",
83 "eslint": "^6.0.1",
84 "eslint-plugin-import": "^2.18.0",
85 "execa": "^2.0.2",
86 "fixturify": "^1.2.0",
87 "hash.js": "^1.1.7",
88 "husky": "^3.0.0",
89 "immutable": "^4.0.0-rc.12",
90 "is-reference": "^1.1.2",
91 "istanbul": "^0.4.5",
92 "lint-staged": "^9.0.0",
93 "locate-character": "^2.0.5",
94 "magic-string": "^0.25.3",
95 "markdownlint-cli": "^0.17.0",
96 "micromatch": "^4.0.2",
97 "minimist": "^1.2.0",
98 "mocha": "^6.1.4",
99 "prettier": "^1.18.2",
100 "pretty-bytes": "^5.2.0",
101 "pretty-ms": "^5.0.0",
102 "remap-istanbul": "^0.13.0",
103 "require-relative": "^0.8.7",
104 "requirejs": "^2.3.6",
105 "rollup": "^1.16.3",
106 "rollup-plugin-alias": "^1.5.2",
107 "rollup-plugin-buble": "^0.19.6",
108 "rollup-plugin-commonjs": "^10.0.1",
109 "rollup-plugin-json": "^4.0.0",
110 "rollup-plugin-node-resolve": "^5.2.0",
111 "rollup-plugin-replace": "^2.2.0",
112 "rollup-plugin-string": "^3.0.0",
113 "rollup-plugin-terser": "^5.0.0",
114 "rollup-plugin-typescript": "^1.0.1",
115 "rollup-pluginutils": "^2.8.1",
116 "sander": "^0.6.0",
117 "shx": "^0.3.2",
118 "signal-exit": "^3.0.2",
119 "source-map": "^0.6.1",
120 "source-map-support": "^0.5.12",
121 "sourcemap-codec": "^1.4.4",
122 "systemjs": "^4.0.0",
123 "terser": "^4.0.2",
124 "tslib": "^1.10.0",
125 "tslint": "^5.18.0",
126 "turbocolor": "^2.6.1",
127 "typescript": "^3.5.2",
128 "url-parse": "^1.4.7"
129 },
130 "files": [
131 "dist/*.js",
132 "dist/*.d.ts",
133 "bin/rollup"
134 ]
135}