-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathpackage.json
executable file
·53 lines (53 loc) · 1.58 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
{
"name": "weapp-minipack",
"version": "0.1.20",
"description": "a bundler for wechat miniprogram",
"main": "./dist/bundle.js",
"types": "./dist/index.d.ts",
"bin": {
"weapp-minipack": "./dist/bundle_command.js"
},
"scripts": {
"test:method": "node ./test/index.js",
"test:command": "minipack -c ./minipack.config.js",
"test:compile": "jest",
"build": "yarn build:method & yarn build:commander & shx cp ./src/typings/config.d.ts ./dist/index.d.ts",
"build:method": "cross-env NODE_ENV=production:method rollup --config ./rollup.config.js & ",
"build:commander": "cross-env NODE_ENV=production:commander rollup --config ./rollup.config.js"
},
"keywords": [
"wechat",
"miniprogram",
"typescript"
],
"author": "Jerrmy Y",
"license": "MIT",
"repository": {
"type": "git",
"url": "https://github.com/IchliebedichZhu/weapp-minipack.git"
},
"dependencies": {
"@types/html-minifier": "^4.0.0",
"commander": "^7.2.0",
"esbuild": "^0.12.7",
"html-minifier": "^4.0.0"
},
"devDependencies": {
"@babel/preset-env": "^7.14.4",
"@babel/preset-typescript": "^7.13.0",
"@rollup/plugin-typescript": "^8.2.1",
"@types/commander": "^2.12.2",
"@types/node": "^14.14.14",
"cross-env": "^7.0.3",
"jest": "^27.0.4",
"rollup": "^2.50.4",
"rollup-plugin-commonjs": "^10.1.0",
"rollup-plugin-node-resolve": "^5.2.0",
"rollup-plugin-replace": "^2.2.0",
"rollup-plugin-typescript2": "^0.30.0",
"shx": "^0.3.3",
"ts-node": "^10.0.0",
"tslib": "^2.0.3",
"typescript": "^4.1.3"
}
}