UNPKG

5.44 kBJSONView Raw
1{
2 "name": "rollup",
3 "version": "2.69.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 --config rollup.config.ts --configPlugin typescript && 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 --config rollup.config.ts --configPlugin typescript --configTest && shx cp src/rollup/types.d.ts dist/rollup.d.ts && shx chmod a+x dist/bin/rollup",
14 "build:bootstrap": "node dist/bin/rollup --config rollup.config.ts --configPlugin typescript && 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 && npm run build:bootstrap && nyc --reporter lcovonly mocha",
19 "lint": "eslint . --fix --cache && prettier --write \"**/*.md\"",
20 "lint:nofix": "eslint . && prettier --check \"**/*.md\"",
21 "lint:markdown": "prettier --write \"**/*.md\"",
22 "perf": "npm run build:cjs && node --expose-gc scripts/perf.js",
23 "perf:debug": "node --inspect-brk scripts/perf-debug.js",
24 "perf:init": "node scripts/perf-init.js",
25 "_postinstall": "husky install",
26 "postpublish": "pinst --enable && git push && git push --tags",
27 "prepare": "husky install && npm run build",
28 "prepublishOnly": "pinst --disable && npm ci && npm run lint:nofix && npm run security && npm run build:bootstrap && npm run test:all",
29 "security": "npm audit",
30 "test": "npm run build && npm run test:all",
31 "test:cjs": "npm run build:cjs && npm run test:only",
32 "test:quick": "mocha -b test/test.js",
33 "test:all": "npm run test:only && npm run test:browser && npm run test:typescript && npm run test:leak && npm run test:package",
34 "test:coverage": "npm run build:cjs && shx rm -rf coverage/* && nyc --reporter html mocha test/test.js",
35 "test:coverage:browser": "npm run build && shx rm -rf coverage/* && nyc mocha test/browser/index.js",
36 "test:leak": "node --expose-gc test/leak/index.js",
37 "test:package": "node scripts/test-package.js",
38 "test:only": "mocha test/test.js",
39 "test:typescript": "shx rm -rf test/typescript/dist && shx cp -r dist test/typescript/ && tsc --noEmit -p test/typescript && tsc --noEmit",
40 "test:browser": "mocha test/browser/index.js",
41 "watch": "rollup --config rollup.config.ts --configPlugin typescript --watch"
42 },
43 "repository": "rollup/rollup",
44 "keywords": [
45 "modules",
46 "bundler",
47 "bundling",
48 "es6",
49 "optimizer"
50 ],
51 "author": "Rich Harris",
52 "license": "MIT",
53 "bugs": {
54 "url": "https://github.com/rollup/rollup/issues"
55 },
56 "homepage": "https://rollupjs.org/",
57 "optionalDependencies": {
58 "fsevents": "~2.3.2"
59 },
60 "devDependencies": {
61 "@rollup/plugin-alias": "^3.1.9",
62 "@rollup/plugin-buble": "^0.21.3",
63 "@rollup/plugin-commonjs": "^21.0.2",
64 "@rollup/plugin-json": "^4.1.0",
65 "@rollup/plugin-node-resolve": "^13.1.3",
66 "@rollup/plugin-replace": "^4.0.0",
67 "@rollup/plugin-typescript": "^8.3.1",
68 "@rollup/pluginutils": "^4.1.2",
69 "@types/estree": "0.0.51",
70 "@types/node": "^10.17.60",
71 "@types/signal-exit": "^3.0.1",
72 "@types/yargs-parser": "^20.2.1",
73 "@typescript-eslint/eslint-plugin": "^5.12.1",
74 "@typescript-eslint/parser": "^5.12.1",
75 "acorn": "^8.7.0",
76 "acorn-jsx": "^5.3.2",
77 "acorn-walk": "^8.2.0",
78 "buble": "^0.20.0",
79 "chokidar": "^3.5.3",
80 "colorette": "^2.0.16",
81 "core-js": "^3.21.1",
82 "date-time": "^4.0.0",
83 "es5-shim": "^4.6.5",
84 "es6-shim": "^0.35.6",
85 "eslint": "^8.9.0",
86 "eslint-config-prettier": "^8.4.0",
87 "eslint-plugin-import": "^2.25.4",
88 "eslint-plugin-prettier": "^4.0.0",
89 "execa": "^5.1.1",
90 "fixturify": "^2.1.1",
91 "fs-extra": "^10.0.1",
92 "hash.js": "^1.1.7",
93 "husky": "^7.0.4",
94 "is-reference": "^3.0.0",
95 "lint-staged": "^10.5.4",
96 "locate-character": "^2.0.5",
97 "magic-string": "^0.25.7",
98 "mocha": "^9.2.1",
99 "nyc": "^15.1.0",
100 "pinst": "^3.0.0",
101 "prettier": "^2.5.1",
102 "pretty-bytes": "^5.6.0",
103 "pretty-ms": "^7.0.1",
104 "requirejs": "^2.3.6",
105 "rollup": "^2.68.0",
106 "rollup-plugin-license": "^2.6.1",
107 "rollup-plugin-string": "^3.0.0",
108 "rollup-plugin-terser": "^7.0.2",
109 "rollup-plugin-thatworks": "^1.0.4",
110 "shx": "^0.3.4",
111 "signal-exit": "^3.0.7",
112 "source-map": "^0.7.3",
113 "source-map-support": "^0.5.21",
114 "sourcemap-codec": "^1.4.8",
115 "systemjs": "^6.12.1",
116 "terser": "^5.11.0",
117 "tslib": "^2.3.1",
118 "typescript": "^4.5.5",
119 "weak-napi": "^2.0.2",
120 "yargs-parser": "^20.2.9"
121 },
122 "files": [
123 "dist/**/*.js",
124 "dist/*.d.ts",
125 "dist/bin/rollup",
126 "dist/es/package.json",
127 "dist/rollup.browser.js.map"
128 ],
129 "engines": {
130 "node": ">=10.0.0"
131 },
132 "exports": {
133 ".": {
134 "types": "./dist/rollup.d.ts",
135 "node": {
136 "require": "./dist/rollup.js",
137 "import": "./dist/es/rollup.js"
138 },
139 "default": "./dist/es/rollup.browser.js"
140 },
141 "./dist/": "./dist/"
142 }
143}