-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
60 lines (60 loc) · 1.85 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
{
"name": "mor-mini-boilerplate",
"version": "1.0.0",
"description": "morjs best practice for miniprogram development",
"dependencies": {
"@morjs/core": "*"
},
"devDependencies": {
"@morjs/cli": "*",
"@commitlint/cli": "^13.2.1",
"@commitlint/config-conventional": "^13.2.0",
"@babel/core": "^7.17.8",
"@babel/eslint-parser": "^7.17.0",
"cross-env": "^7.0.2",
"dotenv": "^8.2.0",
"globby": "^11.0.0",
"gulp": "^4.0.2",
"gulp-oss-sync": "^2.0.1",
"husky": "^8.0.1",
"lint-staged": "^13.0.3",
"prettier": "2.5.1",
"prettier-plugin-organize-imports": "^2.3.4",
"pretty-quick": "^3.1.3",
"release-it": "^16.1.3"
},
"scripts": {
"start": "npm install --registry=https://registry.npmmirror.com",
"dev": "cross-env NODE_ENV=development mor compile -w",
"dev:web": "cross-env NODE_ENV=development mor compile -w --name web",
"dev:wx": "cross-env NODE_ENV=development mor compile -w --name wechat",
"dev:ali": "cross-env NODE_ENV=development mor compile -w --name alipay",
"mock": "mor compile -w --mock",
"build": "cross-env NODE_ENV=development mor compile",
"build:prod": "cross-env NODE_ENV=production mor compile --production",
"oss": "cross-env NODE_ENV=production mor oss -c ./scripts/oss.config.js",
"release": "release-it && git push --follow-tags",
"prettier": "prettier --write .",
"prepare": "husky install",
"pretty-quick": "pretty-quick --staged"
},
"lint-staged": {
"**/*": "npm run pretty-quick"
},
"repository": {
"type": "git",
"url": "https://github.com/icai/mor-mini-boilerplate.git"
},
"release-it": {
"npm": {
"publish": false
},
"git": {
"push": false,
"tagName": "v${version}",
"commitMessage": "chore: release v${version}"
}
},
"author": "Terry Cai",
"license": "MIT"
}