/
package.json
126 lines (126 loc) · 4.25 KB
/
package.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
{
"name": "rollup",
"version": "0.63.4",
"description": "Next-generation ES module bundler",
"main": "dist/rollup.js",
"module": "dist/rollup.es.js",
"jsnext:main": "dist/rollup.es.js",
"typings": "dist/rollup.d.ts",
"bin": {
"rollup": "./bin/rollup"
},
"scripts": {
"pretest": "npm run build",
"test": "npm run test:only && npm run test:typescript && npm run test:leak",
"test:only": "mocha",
"test:quick": "mocha -b",
"test:leak": "npm i --silent --no-save weak@1 && node --expose-gc test/leak/index.js",
"pretest:typescript": "shx rm -rf test/typescript/dist && shx cp -r dist test/typescript/",
"test:typescript": "tsc -p test/typescript",
"pretest-coverage": "npm run build",
"test-coverage": "shx rm -rf coverage/* && istanbul cover --report json node_modules/.bin/_mocha -- -u exports -R spec test/test.js",
"posttest-coverage": "remap-istanbul -i coverage/coverage-final.json -o coverage/coverage-remapped.json -b dist && remap-istanbul -i coverage/coverage-final.json -o coverage/coverage-remapped.lcov -t lcovonly -b dist && remap-istanbul -i coverage/coverage-final.json -o coverage/coverage-remapped -t html -b dist",
"ci": "npm run test && npm run build:bootstrap && npm run test:only",
"prebuild": "shx rm -rf dist",
"build": "git rev-parse HEAD > .commithash && rollup -c && shx cp src/rollup/types.d.ts dist/rollup.d.ts && shx chmod a+x bin/rollup",
"build:bootstrap": "bin/rollup -c && shx cp src/rollup/types.d.ts dist/rollup.d.ts && shx chmod a+x bin/rollup",
"watch": "rollup -cw",
"prepublishOnly": "npm run lint && npm run test",
"prepare": "npm run build",
"lint": "tslint --project . --fix && eslint --fix src browser bin test/test.js test/*/index.js test/utils test/**/_config.js",
"precommit": "lint-staged",
"postcommit": "git reset",
"perf": "npm run build && node --expose-gc scripts/perf.js",
"perf:init": "node scripts/perf-init.js",
"perf:debug": "node --inspect-brk scripts/perf-debug.js"
},
"repository": "rollup/rollup",
"keywords": [
"modules",
"bundler",
"bundling",
"es6",
"optimizer"
],
"author": "Rich Harris",
"contributors": [
"Oskar Segersvärd <victorystick@gmail.com>",
"Bogdan Chadkin <trysound@yandex.ru>"
],
"license": "MIT",
"bugs": {
"url": "https://github.com/rollup/rollup/issues"
},
"homepage": "https://github.com/rollup/rollup",
"dependencies": {
"@types/estree": "0.0.39",
"@types/node": "*"
},
"devDependencies": {
"@types/acorn": "^4.0.3",
"@types/chokidar": "^1.7.5",
"@types/minimist": "^1.2.0",
"@types/pretty-ms": "^3.0.0",
"acorn": "^5.7.1",
"acorn-dynamic-import": "^3.0.0",
"acorn-import-meta": "^0.2.1",
"ansi-escapes": "^3.1.0",
"buble": "^0.19.3",
"chokidar": "^2.0.4",
"console-group": "^0.3.1",
"date-time": "^2.1.0",
"eslint": "^4.19.1",
"eslint-plugin-import": "^2.12.0",
"execa": "^0.10.0",
"fixturify": "^0.3.4",
"hash.js": "^1.1.4",
"husky": "^0.14.3",
"immutable": "^3.8.2",
"is-reference": "^1.1.0",
"istanbul": "^0.4.3",
"lint-staged": "^7.2.0",
"locate-character": "^2.0.5",
"magic-string": "^0.25.0",
"minimist": "^1.2.0",
"mocha": "^5.2.0",
"prettier": "^1.13.5",
"pretty-ms": "^3.2.0",
"remap-istanbul": "^0.11.1",
"require-relative": "^0.8.7",
"rollup": "^0.61.1",
"rollup-plugin-buble": "^0.19.2",
"rollup-plugin-commonjs": "^9.1.3",
"rollup-plugin-json": "^3.0.0",
"rollup-plugin-node-resolve": "^3.3.0",
"rollup-plugin-replace": "^2.0.0",
"rollup-plugin-string": "^2.0.2",
"rollup-plugin-typescript": "^0.8.1",
"rollup-pluginutils": "^2.3.0",
"sander": "^0.6.0",
"shx": "^0.3.0",
"signal-exit": "^3.0.2",
"source-map": "^0.6.1",
"source-map-support": "^0.5.6",
"sourcemap-codec": "^1.4.1",
"tslint": "^5.10.0",
"turbocolor": "2.4.0",
"typescript": "^2.9.2",
"uglify-js": "^3.4.1",
"url-parse": "^1.4.0"
},
"files": [
"dist/rollup.browser.js",
"dist/rollup.es.js",
"dist/rollup.js",
"dist/**/*.d.ts",
"bin/rollup",
"README.md"
],
"lint-staged": {
"*.ts": [
"tslint --project . --fix",
"prettier --write",
"git add"
]
}
}