-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathpackage.json
99 lines (99 loc) · 2.76 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
{
"name": "auto-libs",
"version": "0.4.27",
"description": "凹凸 公用组件",
"main": "build/index",
"types": "build/index",
"repository": "[email protected]:aotuzuche/auto-libs.git",
"author": "atzuche <www.atzuche.com>",
"license": "MIT",
"sideEffects": [
"*.css",
"*.scss",
"build/scripts/**/*"
],
"scripts": {
"start": "cross-env NODE_ENV=development PACKAGE=development node scripts/start.js",
"build": "cross-env NODE_ENV=production PACKAGE=production node scripts/build.js",
"clean": "rimraf build",
"ci": "yarn commit",
"commit": "git-cz",
"test": "jest --no-cache",
"changelog": "conventional-changelog -p angular -i CHANGELOG.md -s -r 0",
"prettier": "prettier -c --write '**/*.ts'",
"lint": "tsc --build tsconfig.build.json && node node_modules/tslint/bin/tslint -c ./tslint.json -p ./tsconfig.build.json",
"lint-staged": "lint-staged",
"np": "np --no-cleanup --yolo --no-publish",
"ps": "sh ./scripts/publish.sh",
"push": "sh ./scripts/push.sh",
"prepublishOnly": "yarn clean && yarn prettier && yarn lint && yarn build && yarn ps"
},
"publishConfig": {
"registry": "https://registry.npmjs.org"
},
"husky": {
"hooks": {
"commit-msg": "node scripts/verify-commit-msg.js",
"pre-commit": "lint-staged",
"pre-push": "node scripts/publish-tips.js"
}
},
"lint-staged": {
"**/*.{js,jsx,tsx,ts,less,md,json}": [
"prettier --write",
"git add"
]
},
"files": [
"build",
"types"
],
"dependencies": {
"@babel/runtime": "^7.12.5",
"at-js-bridge": "^1.0.22",
"axios": "0.18.0",
"crypto-js": "^4.0.0",
"js-cookie": "^2.2.0",
"qs": "^6.5.2",
"weixin-js-sdk": "^1.4.0-test"
},
"devDependencies": {
"@babel/core": "^7.5.5",
"@babel/plugin-transform-runtime": "^7.12.10",
"@babel/preset-env": "^7.5.5",
"@babel/preset-typescript": "^7.3.3",
"@types/crypto-js": "^4.1.1",
"@types/js-cookie": "^2.2.2",
"@types/node": "^10.12.18",
"@types/react": "^16.9.41",
"babel-jest": "^24.8.0",
"commitizen": "^3.0.5",
"conventional-changelog": "^3.0.5",
"conventional-changelog-cli": "^2.0.11",
"cross-env": "^5.2.0",
"cz-conventional-changelog": "^2.1.0",
"del": "^3.0.0",
"git-cz": "^1.8.0",
"gulp": "^4.0.0",
"gulp-sass": "^4.0.2",
"gulp-typescript": "^5.0.1",
"husky": "^1.3.1",
"jest": "^24.8.0",
"lint-staged": "^9.2.1",
"merge2": "^1.2.3",
"np": "^7.0.0",
"prettier": "^1.18.2",
"react": "^16.13.1",
"tslint": "^6.1.3",
"tslint-config-alloy": "^0.2.1",
"typescript": "^3.2.2"
},
"peerDependencies": {
"react": ">=16.10.0"
},
"config": {
"commitizen": {
"path": "cz-conventional-changelog"
}
}
}