UNPKG

5.48 kBJSONView Raw
1{
2 "name": "rollup",
3 "version": "2.75.7",
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 && node scripts/update-git-commit.js && 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 "postpublish": "git push && git push --tags",
26 "prepare": "husky install && npm run build",
27 "prepublishOnly": "git pull --ff-only && npm ci && npm run lint:nofix && npm run security && npm run build:bootstrap && npm run test:all",
28 "security": "npm audit",
29 "test": "npm run build && npm run test:all",
30 "test:cjs": "npm run build:cjs && npm run test:only",
31 "test:quick": "mocha -b test/test.js",
32 "test:all": "npm run test:only && npm run test:browser && npm run test:typescript && npm run test:leak && npm run test:package",
33 "test:coverage": "npm run build:cjs && shx rm -rf coverage/* && nyc --reporter html mocha test/test.js",
34 "test:coverage:browser": "npm run build && shx rm -rf coverage/* && nyc mocha test/browser/index.js",
35 "test:leak": "node --expose-gc test/leak/index.js",
36 "test:package": "node scripts/test-package.js",
37 "test:only": "mocha test/test.js",
38 "test:typescript": "shx rm -rf test/typescript/dist && shx cp -r dist test/typescript/ && tsc --noEmit -p test/typescript && tsc --noEmit",
39 "test:browser": "mocha test/browser/index.js",
40 "watch": "rollup --config rollup.config.ts --configPlugin typescript --watch"
41 },
42 "repository": "rollup/rollup",
43 "keywords": [
44 "modules",
45 "bundler",
46 "bundling",
47 "es6",
48 "optimizer"
49 ],
50 "author": "Rich Harris",
51 "license": "MIT",
52 "bugs": {
53 "url": "https://github.com/rollup/rollup/issues"
54 },
55 "homepage": "https://rollupjs.org/",
56 "optionalDependencies": {
57 "fsevents": "~2.3.2"
58 },
59 "devDependencies": {
60 "@rollup/plugin-alias": "^3.1.9",
61 "@rollup/plugin-buble": "^0.21.3",
62 "@rollup/plugin-commonjs": "^22.0.0",
63 "@rollup/plugin-json": "^4.1.0",
64 "@rollup/plugin-node-resolve": "^13.3.0",
65 "@rollup/plugin-replace": "^4.0.0",
66 "@rollup/plugin-typescript": "^8.3.2",
67 "@rollup/pluginutils": "^4.2.1",
68 "@types/estree": "0.0.51",
69 "@types/node": "^10.17.60",
70 "@types/signal-exit": "^3.0.1",
71 "@types/yargs-parser": "^20.2.2",
72 "@typescript-eslint/eslint-plugin": "^5.27.1",
73 "@typescript-eslint/parser": "^5.27.1",
74 "acorn": "^8.7.1",
75 "acorn-jsx": "^5.3.2",
76 "acorn-walk": "^8.2.0",
77 "buble": "^0.20.0",
78 "chokidar": "^3.5.3",
79 "colorette": "^2.0.17",
80 "core-js": "^3.22.8",
81 "date-time": "^4.0.0",
82 "es5-shim": "^4.6.7",
83 "es6-shim": "^0.35.6",
84 "eslint": "^8.17.0",
85 "eslint-config-prettier": "^8.5.0",
86 "eslint-plugin-import": "^2.26.0",
87 "eslint-plugin-prettier": "^4.0.0",
88 "execa": "^5.1.1",
89 "fixturify": "^2.1.1",
90 "fs-extra": "^10.1.0",
91 "hash.js": "^1.1.7",
92 "husky": "^7.0.4",
93 "is-reference": "^3.0.0",
94 "lint-staged": "^10.5.4",
95 "locate-character": "^2.0.5",
96 "magic-string": "^0.26.2",
97 "mocha": "^9.2.2",
98 "nyc": "^15.1.0",
99 "prettier": "^2.6.2",
100 "pretty-bytes": "^5.6.0",
101 "pretty-ms": "^7.0.1",
102 "requirejs": "^2.3.6",
103 "rollup": "^2.75.6",
104 "rollup-plugin-license": "^2.8.0",
105 "rollup-plugin-string": "^3.0.0",
106 "rollup-plugin-terser": "^7.0.2",
107 "rollup-plugin-thatworks": "^1.0.4",
108 "shx": "^0.3.4",
109 "signal-exit": "^3.0.7",
110 "source-map": "^0.7.4",
111 "source-map-support": "^0.5.21",
112 "sourcemap-codec": "^1.4.8",
113 "systemjs": "^6.12.1",
114 "terser": "^5.14.0",
115 "tslib": "^2.4.0",
116 "typescript": "^4.7.3",
117 "weak-napi": "^2.0.2",
118 "yargs-parser": "^20.2.9"
119 },
120 "files": [
121 "dist/**/*.js",
122 "dist/*.d.ts",
123 "dist/bin/rollup",
124 "dist/es/package.json",
125 "dist/rollup.browser.js.map"
126 ],
127 "engines": {
128 "node": ">=10.0.0"
129 },
130 "exports": {
131 ".": {
132 "types": "./dist/rollup.d.ts",
133 "node": {
134 "require": "./dist/rollup.js",
135 "import": "./dist/es/rollup.js"
136 },
137 "default": "./dist/es/rollup.browser.js"
138 },
139 "./loadConfigFile": "./dist/loadConfigFile.js",
140 "./dist/loadConfigFile": "./dist/loadConfigFile.js",
141 "./dist/*": "./dist/*"
142 }
143}