UNPKG

5.25 kBJSONView Raw
1{
2 "name": "rollup",
3 "version": "2.34.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": "node --expose-gc test/leak/index.js",
37 "test:package": "node scripts/test-package.js",
38 "test:only": "mocha",
39 "test:quick": "mocha -b",
40 "test:typescript": "tsc --noEmit -p test/typescript && tsc --noEmit",
41 "watch": "rollup -cw"
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.1.2"
59 },
60 "devDependencies": {
61 "@rollup/plugin-alias": "^3.1.1",
62 "@rollup/plugin-buble": "^0.21.3",
63 "@rollup/plugin-commonjs": "^17.0.0",
64 "@rollup/plugin-json": "^4.1.0",
65 "@rollup/plugin-node-resolve": "^10.0.0",
66 "@rollup/plugin-replace": "^2.3.4",
67 "@types/micromatch": "^4.0.1",
68 "@types/node": "^10.17.48",
69 "@types/require-relative": "^0.8.0",
70 "@types/signal-exit": "^3.0.0",
71 "@types/yargs-parser": "^15.0.0",
72 "acorn": "^8.0.4",
73 "acorn-class-fields": "^0.3.7",
74 "acorn-jsx": "^5.3.1",
75 "acorn-numeric-separator": "^0.3.6",
76 "acorn-static-class-features": "^0.2.4",
77 "acorn-walk": "^8.0.0",
78 "buble": "^0.20.0",
79 "chokidar": "^3.4.3",
80 "codecov": "^3.8.1",
81 "colorette": "^1.2.1",
82 "core-js": "^3.8.0",
83 "date-time": "^3.1.0",
84 "es5-shim": "^4.5.14",
85 "es6-shim": "^0.35.6",
86 "eslint": "^7.14.0",
87 "eslint-plugin-import": "^2.22.1",
88 "execa": "^4.1.0",
89 "fixturify": "^2.1.0",
90 "hash.js": "^1.1.7",
91 "husky": "^4.3.0",
92 "is-reference": "^1.2.1",
93 "lint-staged": "^10.5.2",
94 "locate-character": "^2.0.5",
95 "magic-string": "^0.25.7",
96 "markdownlint-cli": "^0.25.0",
97 "micromatch": "^4.0.2",
98 "mocha": "^8.2.1",
99 "node-fetch": "^2.6.1",
100 "nyc": "^15.1.0",
101 "prettier": "^2.2.1",
102 "pretty-bytes": "^5.4.1",
103 "pretty-ms": "^7.0.1",
104 "require-relative": "^0.8.7",
105 "requirejs": "^2.3.6",
106 "rollup": "^2.34.0",
107 "rollup-plugin-license": "^2.2.0",
108 "rollup-plugin-string": "^3.0.0",
109 "rollup-plugin-terser": "^7.0.2",
110 "rollup-plugin-thatworks": "^1.0.4",
111 "rollup-plugin-typescript": "^1.0.1",
112 "rollup-pluginutils": "^2.8.2",
113 "sander": "^0.6.0",
114 "shx": "^0.3.3",
115 "signal-exit": "^3.0.3",
116 "source-map": "^0.7.3",
117 "source-map-support": "^0.5.19",
118 "sourcemap-codec": "^1.4.8",
119 "systemjs": "^6.8.1",
120 "terser": "^5.5.1",
121 "tslib": "^2.0.3",
122 "tslint": "^6.1.3",
123 "typescript": "^4.1.2",
124 "url-parse": "^1.4.7",
125 "weak-napi": "^2.0.2",
126 "yargs-parser": "^20.2.4"
127 },
128 "files": [
129 "dist/**/*.js",
130 "dist/*.d.ts",
131 "dist/bin/rollup"
132 ],
133 "engines": {
134 "node": ">=10.0.0"
135 },
136 "exports": {
137 ".": {
138 "node": {
139 "require": "./dist/rollup.js",
140 "import": "./dist/es/rollup.js"
141 },
142 "default": "./dist/es/rollup.browser.js"
143 },
144 "./dist/*": "./dist/*"
145 },
146 "dependencies": {
147 "fsevents": "~2.1.2"
148 }
149}