1 | {
|
2 | "name": "rollup",
|
3 | "version": "2.41.4",
|
4 | "description": "Next-generation ES module bundler",
|
5 | "main": "dist/rollup.js",
|
6 | "module": "dist/es/rollup.js",
|
7 | "typings": "dist/rollup.d.ts",
|
8 | "bin": {
|
9 | "rollup": "dist/bin/rollup"
|
10 | },
|
11 | "scripts": {
|
12 | "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 dist/bin/rollup",
|
13 | "build:cjs": "shx rm -rf dist && rollup -c --configTest && shx cp src/rollup/types.d.ts dist/rollup.d.ts && shx chmod a+x dist/bin/rollup",
|
14 | "build:bootstrap": "dist/bin/rollup -c && shx cp src/rollup/types.d.ts dist/rollup.d.ts && shx chmod a+x dist/bin/rollup",
|
15 | "ci:lint": "npm run lint:nofix",
|
16 | "ci:test": "npm run build:cjs && npm run build:bootstrap && npm run test:all",
|
17 | "ci:test:only": "npm run build:cjs && npm run build:bootstrap && npm run test:only",
|
18 | "ci:coverage": "npm run build:cjs && nyc --reporter lcovonly mocha && codecov",
|
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:cjs && 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 | "_postinstall": "husky install",
|
28 | "postpublish": "pinst --enable && git push && git push --tags",
|
29 | "prepare": "npm run build",
|
30 | "prepublishOnly": "pinst --disable && npm ci && npm run lint:nofix && npm run security && npm run build:bootstrap && npm run test:all",
|
31 | "security": "npm audit",
|
32 | "test": "npm run build && npm run test:all",
|
33 | "test:cjs": "npm run build:cjs && npm run test:only",
|
34 | "test:quick": "mocha -b test/test.js",
|
35 | "test:all": "npm run test:only && npm run test:browser && npm run test:typescript && npm run test:leak && npm run test:package",
|
36 | "test:coverage": "npm run build:cjs && shx rm -rf coverage/* && nyc --reporter html mocha test/test.js",
|
37 | "test:coverage:browser": "npm run build && shx rm -rf coverage/* && nyc mocha test/browser/index.js",
|
38 | "test:leak": "node --expose-gc test/leak/index.js",
|
39 | "test:package": "node scripts/test-package.js",
|
40 | "test:only": "mocha test/test.js",
|
41 | "test:typescript": "shx rm -rf test/typescript/dist && shx cp -r dist test/typescript/ && tsc --noEmit -p test/typescript && tsc --noEmit",
|
42 | "test:browser": "mocha test/browser/index.js",
|
43 | "watch": "rollup -cw"
|
44 | },
|
45 | "repository": "rollup/rollup",
|
46 | "keywords": [
|
47 | "modules",
|
48 | "bundler",
|
49 | "bundling",
|
50 | "es6",
|
51 | "optimizer"
|
52 | ],
|
53 | "author": "Rich Harris",
|
54 | "license": "MIT",
|
55 | "bugs": {
|
56 | "url": "https://github.com/rollup/rollup/issues"
|
57 | },
|
58 | "homepage": "https://rollupjs.org/",
|
59 | "optionalDependencies": {
|
60 | "fsevents": "~2.3.1"
|
61 | },
|
62 | "devDependencies": {
|
63 | "@rollup/plugin-alias": "^3.1.2",
|
64 | "@rollup/plugin-buble": "^0.21.3",
|
65 | "@rollup/plugin-commonjs": "^18.0.0-1",
|
66 | "@rollup/plugin-json": "^4.1.0",
|
67 | "@rollup/plugin-node-resolve": "^11.1.1",
|
68 | "@rollup/plugin-replace": "^2.3.4",
|
69 | "@types/micromatch": "^4.0.1",
|
70 | "@types/node": "^10.17.51",
|
71 | "@types/require-relative": "^0.8.0",
|
72 | "@types/signal-exit": "^3.0.0",
|
73 | "@types/yargs-parser": "^20.2.0",
|
74 | "acorn": "^8.0.5",
|
75 | "acorn-class-fields": "^1.0.0",
|
76 | "acorn-jsx": "^5.3.1",
|
77 | "acorn-static-class-features": "^1.0.0",
|
78 | "acorn-walk": "^8.0.2",
|
79 | "buble": "^0.20.0",
|
80 | "chokidar": "^3.5.1",
|
81 | "codecov": "^3.8.1",
|
82 | "colorette": "^1.2.1",
|
83 | "core-js": "^3.8.3",
|
84 | "date-time": "^3.1.0",
|
85 | "es5-shim": "^4.5.15",
|
86 | "es6-shim": "^0.35.6",
|
87 | "eslint": "^7.19.0",
|
88 | "eslint-plugin-import": "^2.22.1",
|
89 | "execa": "^5.0.0",
|
90 | "fixturify": "^2.1.0",
|
91 | "hash.js": "^1.1.7",
|
92 | "husky": "^5.0.9",
|
93 | "is-reference": "lukastaegert/is-reference#update-class-features",
|
94 | "lint-staged": "^10.5.4",
|
95 | "locate-character": "^2.0.5",
|
96 | "magic-string": "^0.25.7",
|
97 | "markdownlint-cli": "^0.26.0",
|
98 | "micromatch": "^4.0.2",
|
99 | "mocha": "^8.3.0",
|
100 | "node-fetch": "^2.6.1",
|
101 | "nyc": "^15.1.0",
|
102 | "pinst": "^2.1.4",
|
103 | "prettier": "^2.2.1",
|
104 | "pretty-bytes": "^5.5.0",
|
105 | "pretty-ms": "^7.0.1",
|
106 | "require-relative": "^0.8.7",
|
107 | "requirejs": "^2.3.6",
|
108 | "rollup": "^2.38.5",
|
109 | "rollup-plugin-license": "^2.2.0",
|
110 | "rollup-plugin-string": "^3.0.0",
|
111 | "rollup-plugin-terser": "^7.0.2",
|
112 | "rollup-plugin-thatworks": "^1.0.4",
|
113 | "rollup-plugin-typescript": "^1.0.1",
|
114 | "rollup-pluginutils": "^2.8.2",
|
115 | "sander": "^0.6.0",
|
116 | "shx": "^0.3.3",
|
117 | "signal-exit": "^3.0.3",
|
118 | "source-map": "^0.7.3",
|
119 | "source-map-support": "^0.5.19",
|
120 | "sourcemap-codec": "^1.4.8",
|
121 | "systemjs": "^6.8.3",
|
122 | "terser": "^5.6.0-beta",
|
123 | "tslib": "^2.1.0",
|
124 | "tslint": "^6.1.3",
|
125 | "typescript": "^4.1.5",
|
126 | "url-parse": "^1.4.7",
|
127 | "weak-napi": "^2.0.2",
|
128 | "yargs-parser": "^20.2.4"
|
129 | },
|
130 | "files": [
|
131 | "dist/**/*.js",
|
132 | "dist/*.d.ts",
|
133 | "dist/bin/rollup",
|
134 | "dist/rollup.browser.js.map"
|
135 | ],
|
136 | "engines": {
|
137 | "node": ">=10.0.0"
|
138 | },
|
139 | "exports": {
|
140 | ".": {
|
141 | "node": {
|
142 | "require": "./dist/rollup.js",
|
143 | "import": "./dist/es/rollup.js"
|
144 | },
|
145 | "default": "./dist/es/rollup.browser.js"
|
146 | },
|
147 | "./dist/": "./dist/"
|
148 | }
|
149 | }
|