UNPKG

5.44 kBJSONView Raw
1{
2 "name": "rollup",
3 "version": "2.28.1",
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:test": "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:test && npm run build:bootstrap && npm run test:all",
17 "ci:test:only": "npm run build:test && npm run build:bootstrap && npm run test:only",
18 "ci:coverage": "npm run build:test && 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: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 "prepare": "npm run build",
28 "prepublishOnly": "npm ci && npm run lint:nofix && npm run security && npm run build:bootstrap && npm run test:all",
29 "pretest": "npm run build:test",
30 "pretest:coverage": "npm run build:test && shx rm -rf coverage/*",
31 "pretest:typescript": "shx rm -rf test/typescript/dist && shx cp -r dist test/typescript/",
32 "security": "# npm audit # deactivated until there is a solution for the lodash issue",
33 "test": "npm run test:all",
34 "test:all": "npm run test:only && npm run test:typescript && npm run test:leak && npm run test:package",
35 "test:coverage": "nyc --reporter html mocha",
36 "test:leak": "cross-os test:leak:os",
37 "test:package": "node scripts/test-package.js",
38 "test:leak:os": {
39 "darwin": "npm run test:leak:nix",
40 "linux": "npm run test:leak:nix",
41 "win32": "echo 'Skipping test:leak on Windows'"
42 },
43 "test:leak:nix": "npm i --silent --no-save weak@1 && node --expose-gc test/leak/index.js",
44 "test:only": "mocha",
45 "test:quick": "mocha -b",
46 "test:typescript": "tsc --noEmit -p test/typescript && tsc --noEmit",
47 "watch": "rollup -cw"
48 },
49 "repository": "rollup/rollup",
50 "keywords": [
51 "modules",
52 "bundler",
53 "bundling",
54 "es6",
55 "optimizer"
56 ],
57 "author": "Rich Harris",
58 "license": "MIT",
59 "bugs": {
60 "url": "https://github.com/rollup/rollup/issues"
61 },
62 "homepage": "https://rollupjs.org/",
63 "optionalDependencies": {
64 "fsevents": "~2.1.2"
65 },
66 "devDependencies": {
67 "@rollup/plugin-alias": "^3.1.1",
68 "@rollup/plugin-buble": "^0.21.3",
69 "@rollup/plugin-commonjs": "^15.0.0",
70 "@rollup/plugin-json": "^4.1.0",
71 "@rollup/plugin-node-resolve": "^9.0.0",
72 "@rollup/plugin-replace": "^2.3.3",
73 "@types/micromatch": "^4.0.1",
74 "@types/node": "^14.10.2",
75 "@types/require-relative": "^0.8.0",
76 "@types/signal-exit": "^3.0.0",
77 "@types/yargs-parser": "^15.0.0",
78 "acorn": "^8.0.1",
79 "acorn-class-fields": "^0.3.7",
80 "acorn-jsx": "^5.3.1",
81 "acorn-numeric-separator": "^0.3.6",
82 "acorn-static-class-features": "^0.2.4",
83 "acorn-walk": "^8.0.0",
84 "buble": "^0.20.0",
85 "chokidar": "^3.4.2",
86 "codecov": "^3.7.2",
87 "colorette": "^1.2.1",
88 "core-js": "^3.6.5",
89 "cross-os": "^1.3.0",
90 "date-time": "^3.1.0",
91 "es5-shim": "^4.5.14",
92 "es6-shim": "^0.35.5",
93 "eslint": "^7.9.0",
94 "eslint-plugin-import": "^2.22.0",
95 "execa": "^4.0.3",
96 "fixturify": "^2.1.0",
97 "hash.js": "^1.1.7",
98 "husky": "^4.3.0",
99 "is-reference": "^1.2.1",
100 "lint-staged": "^10.3.0",
101 "locate-character": "^2.0.5",
102 "magic-string": "^0.25.7",
103 "markdownlint-cli": "^0.23.2",
104 "micromatch": "^4.0.2",
105 "mocha": "^8.1.3",
106 "node-fetch": "^2.6.1",
107 "nyc": "^15.1.0",
108 "prettier": "^2.1.2",
109 "pretty-bytes": "^5.4.1",
110 "pretty-ms": "^7.0.0",
111 "require-relative": "^0.8.7",
112 "requirejs": "^2.3.6",
113 "rollup": "^2.26.11",
114 "rollup-plugin-license": "^2.2.0",
115 "rollup-plugin-string": "^3.0.0",
116 "rollup-plugin-terser": "^7.0.2",
117 "rollup-plugin-thatworks": "^1.0.4",
118 "rollup-plugin-typescript": "^1.0.1",
119 "rollup-pluginutils": "^2.8.2",
120 "sander": "^0.6.0",
121 "shx": "^0.3.2",
122 "signal-exit": "^3.0.3",
123 "source-map": "^0.7.3",
124 "source-map-support": "^0.5.19",
125 "sourcemap-codec": "^1.4.8",
126 "systemjs": "^6.6.1",
127 "terser": "^5.3.1",
128 "tslib": "^2.0.1",
129 "tslint": "^6.1.3",
130 "typescript": "^4.0.2",
131 "url-parse": "^1.4.7",
132 "yargs-parser": "^20.0.0"
133 },
134 "files": [
135 "dist/**/*.js",
136 "dist/*.d.ts",
137 "dist/bin/rollup"
138 ],
139 "engines": {
140 "node": ">=10.0.0"
141 },
142 "exports": {
143 ".": {
144 "node": {
145 "require": "./dist/rollup.js",
146 "import": "./dist/es/rollup.js"
147 },
148 "default": "./dist/es/rollup.browser.js"
149 },
150 "./dist/": "./dist/"
151 }
152}