-
Notifications
You must be signed in to change notification settings - Fork 37
/
package.json
69 lines (69 loc) · 2.03 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
{
"name": "uni-migration",
"version": "0.0.2",
"description": "uni-migration",
"main": "index.js",
"scripts": {
"clear": "rm -rf lib/*",
"copy": "cp ./src/weapp/transform/manifest-rewriter/manifest.json ./lib/weapp/transform/manifest-rewriter/ && cp -r ./tools/dcloud_stat/ ./lib/dcloud_stat/ && cp -r ./tools/sign/ ./lib/sign/",
"test": "mocha ./test/**/*.test.js",
"lint": "eslint src --fix",
"dev": "concurrently \"npm run watch:pack\" \"npm run watch:babel\" \"npm run watch:rollup\"",
"build": "npm run pack && node ./node_modules/babel-cli/bin/babel.js src --out-dir lib && npm run buildplatform && npm run copy",
"pack": "node packer.js",
"buildplatform": "rollup -c rollup.config.js",
"prebuild": "npm run clear && npm run lint",
"prepublish": "npm run build",
"watch:pack": "node packer.js --watch",
"watch:babel": "node ./node_modules/babel-cli/bin/babel.js --watch src --out-dir lib",
"watch:rollup": "rollup --watch -c rollup.config.js"
},
"bin": {
"uni-migration": "bin/uni-migration.js"
},
"author": "fxy060608@gmail.com",
"files": [
"index.js",
"lib",
"bin"
],
"license": "Apache-2.0",
"dependencies": {
"babel-core": "^6.26.0",
"babel-plugin-transform-class-properties": "^6.24.1",
"babel-plugin-transform-object-rest-spread": "^6.26.0",
"chalk": "^2.3.1",
"commander": "^2.15.1",
"css": "^2.2.1",
"css-what": "^2.1.0",
"fs-extra": "^5.0.0",
"pretty-data": "^0.40.0",
"sax": "^1.2.4"
},
"devDependencies": {
"babel-cli": "^6.26.0",
"babel-eslint": "^8.2.2",
"babel-preset-es2015": "^6.24.1",
"babel-preset-minify": "^0.3.0",
"chai": "^4.1.2",
"eslint": "^4.19.1",
"eslint-plugin-vue-libs": "^2.1.0",
"mocha": "^5.0.1",
"rollup": "^0.56.5",
"rollup-plugin-uglify": "^3.0.0"
},
"babel": {
"presets": [
"es2015",
[
"minify", {
"mangle": false
}
]
],
"ignore": [
"src/weapp/wx",
"src/weapp/platform"
]
}
}