UNPKG

5.32 kBJSONView Raw
1{
2 "name": "rollup",
3 "version": "2.33.3",
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:nix": "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 "license": "MIT",
54 "bugs": {
55 "url": "https://github.com/rollup/rollup/issues"
56 },
57 "homepage": "https://rollupjs.org/",
58 "optionalDependencies": {
59 "fsevents": "~2.1.2"
60 },
61 "devDependencies": {
62 "@rollup/plugin-alias": "^3.1.1",
63 "@rollup/plugin-buble": "^0.21.3",
64 "@rollup/plugin-commonjs": "^15.1.0",
65 "@rollup/plugin-json": "^4.1.0",
66 "@rollup/plugin-node-resolve": "^9.0.0",
67 "@rollup/plugin-replace": "^2.3.3",
68 "@types/micromatch": "^4.0.1",
69 "@types/node": "^14.10.2",
70 "@types/require-relative": "^0.8.0",
71 "@types/signal-exit": "^3.0.0",
72 "@types/yargs-parser": "^15.0.0",
73 "acorn": "^8.0.3",
74 "acorn-class-fields": "^0.3.7",
75 "acorn-jsx": "^5.3.1",
76 "acorn-numeric-separator": "^0.3.6",
77 "acorn-static-class-features": "^0.2.4",
78 "acorn-walk": "^8.0.0",
79 "buble": "^0.20.0",
80 "chokidar": "^3.4.2",
81 "codecov": "^3.7.2",
82 "colorette": "^1.2.1",
83 "core-js": "^3.6.5",
84 "cross-os": "^1.3.0",
85 "date-time": "^3.1.0",
86 "es5-shim": "^4.5.14",
87 "es6-shim": "^0.35.5",
88 "eslint": "^7.10.0",
89 "eslint-plugin-import": "^2.22.1",
90 "execa": "^4.0.3",
91 "fixturify": "^2.1.0",
92 "hash.js": "^1.1.7",
93 "husky": "^4.3.0",
94 "is-reference": "^1.2.1",
95 "lint-staged": "^10.4.0",
96 "locate-character": "^2.0.5",
97 "magic-string": "^0.25.7",
98 "markdownlint-cli": "^0.24.0",
99 "micromatch": "^4.0.2",
100 "mocha": "^8.1.3",
101 "node-fetch": "^2.6.1",
102 "nyc": "^15.1.0",
103 "prettier": "^2.1.2",
104 "pretty-bytes": "^5.4.1",
105 "pretty-ms": "^7.0.1",
106 "require-relative": "^0.8.7",
107 "requirejs": "^2.3.6",
108 "rollup": "^2.28.2",
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.2",
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.6.1",
122 "terser": "^5.3.4",
123 "tslib": "^2.0.1",
124 "tslint": "^6.1.3",
125 "typescript": "^4.0.3",
126 "url-parse": "^1.4.7",
127 "yargs-parser": "^20.2.1"
128 },
129 "files": [
130 "dist/**/*.js",
131 "dist/*.d.ts",
132 "dist/bin/rollup"
133 ],
134 "engines": {
135 "node": ">=10.0.0"
136 },
137 "exports": {
138 ".": {
139 "node": {
140 "require": "./dist/rollup.js",
141 "import": "./dist/es/rollup.js"
142 },
143 "default": "./dist/es/rollup.browser.js"
144 },
145 "./dist/": "./dist/"
146 },
147 "dependencies": {
148 "fsevents": "~2.1.2"
149 }
150}