UNPKG

5.01 kBJSONView Raw
1{
2 "name": "rollup",
3 "version": "1.9.3",
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 test && npm run build:bootstrap && npm run test:only",
19 "lint": "npm run lint:ts -- --fix && npm run lint:js -- --fix && npm run lint:markdown",
20 "lint:nofix": "npm run lint:ts && npm run lint:js && npm run lint:markdown",
21 "lint:ts": "tslint --project .",
22 "lint:js": "eslint test/test.js test/*/index.js test/utils.js test/**/_config.js",
23 "lint:markdown": "markdownlint --config markdownlint.json docs/**/*.md",
24 "perf": "npm run build:test && node --expose-gc scripts/perf.js",
25 "perf:debug": "node --inspect-brk scripts/perf-debug.js",
26 "perf:init": "node scripts/perf-init.js",
27 "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",
28 "prepare": "npm run build",
29 "prepublishOnly": "npm ci && npm run lint:nofix && npm run security && npm run build:bootstrap && npm run test:only && npm run test:typescript && npm run test:leak",
30 "pretest": "npm run build:test",
31 "pretest:coverage": "npm run build:test",
32 "pretest:typescript": "shx rm -rf test/typescript/dist && shx cp -r dist test/typescript/",
33 "security": "npm audit",
34 "test": "npm run test:only && npm run test:typescript && npm run test:leak",
35 "test:coverage": "shx rm -rf coverage/* && istanbul cover --report json node_modules/.bin/_mocha -- -u exports -R spec test/test.js",
36 "test:leak": "npm i --silent --no-save weak@1 && node --expose-gc test/leak/index.js",
37 "test:only": "mocha",
38 "test:quick": "mocha -b",
39 "test:typescript": "tsc --noEmit -p test/typescript && tsc --noEmit",
40 "watch": "rollup -cw"
41 },
42 "repository": "rollup/rollup",
43 "keywords": [
44 "modules",
45 "bundler",
46 "bundling",
47 "es6",
48 "optimizer"
49 ],
50 "author": "Rich Harris",
51 "contributors": [
52 "Oskar Segersvärd <victorystick@gmail.com>",
53 "Bogdan Chadkin <trysound@yandex.ru>"
54 ],
55 "license": "MIT",
56 "bugs": {
57 "url": "https://github.com/rollup/rollup/issues"
58 },
59 "homepage": "https://github.com/rollup/rollup",
60 "dependencies": {
61 "@types/estree": "0.0.39",
62 "@types/node": "^11.13.2",
63 "acorn": "^6.1.1"
64 },
65 "devDependencies": {
66 "@types/chokidar": "^2.1.3",
67 "@types/micromatch": "^3.1.0",
68 "@types/minimist": "^1.2.0",
69 "@types/pretty-ms": "^4.0.0",
70 "acorn-bigint": "^0.4.0",
71 "acorn-dynamic-import": "^4.0.0",
72 "acorn-import-meta": "^1.0.0",
73 "acorn-jsx": "^5.0.1",
74 "acorn-walk": "^6.1.1",
75 "ansi-escapes": "^4.1.0",
76 "buble": "^0.19.7",
77 "chokidar": "^2.1.5",
78 "console-group": "^0.3.3",
79 "date-time": "^3.1.0",
80 "eslint": "^5.16.0",
81 "eslint-plugin-import": "^2.16.0",
82 "execa": "^1.0.0",
83 "fixturify": "^1.2.0",
84 "hash.js": "^1.1.7",
85 "husky": "^1.3.1",
86 "immutable": "^4.0.0-rc.12",
87 "is-reference": "^1.1.2",
88 "istanbul": "^0.4.5",
89 "lint-staged": "^8.1.5",
90 "locate-character": "^2.0.5",
91 "magic-string": "^0.25.2",
92 "markdownlint-cli": "^0.15.0",
93 "minimist": "^1.2.0",
94 "mocha": "^6.1.2",
95 "prettier": "^1.16.4",
96 "pretty-bytes": "^5.1.0",
97 "pretty-ms": "^4.0.0",
98 "remap-istanbul": "^0.13.0",
99 "require-relative": "^0.8.7",
100 "rollup": "^1.9.1",
101 "rollup-plugin-alias": "^1.5.1",
102 "rollup-plugin-buble": "^0.19.6",
103 "rollup-plugin-commonjs": "^9.3.4",
104 "rollup-plugin-json": "^4.0.0",
105 "rollup-plugin-node-resolve": "^4.2.2",
106 "rollup-plugin-replace": "^2.2.0",
107 "rollup-plugin-string": "^3.0.0",
108 "rollup-plugin-terser": "^4.0.4",
109 "rollup-plugin-typescript": "^1.0.1",
110 "rollup-pluginutils": "^2.6.0",
111 "sander": "^0.6.0",
112 "shx": "^0.3.2",
113 "signal-exit": "^3.0.2",
114 "source-map": "^0.6.1",
115 "source-map-support": "^0.5.12",
116 "sourcemap-codec": "^1.4.4",
117 "terser": "^3.17.0",
118 "tslib": "^1.9.3",
119 "tslint": "^5.15.0",
120 "turbocolor": "^2.6.1",
121 "typescript": "^3.4.3",
122 "url-parse": "^1.4.4"
123 },
124 "files": [
125 "dist/*.js",
126 "dist/*.d.ts",
127 "bin/rollup"
128 ]
129}