This repository has been archived by the owner on Jun 1, 2023. It is now read-only.
generated from Mister-Hope/miniapp-template
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
67 lines (67 loc) · 2.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
{
"name": "miniapp-template",
"version": "0.0.1",
"license": "MIT",
"private": true,
"workspaces": [
"app/",
"cloud/*"
],
"scripts": {
"build": "gulp build",
"changelog": "conventional-changelog -p angular -i CHANGELOG.md -s -r 2",
"commit": "yarn cz",
"lint": "yarn run lint:prettier --write && yarn run lint:wxs --write && yarn run lint:wxml --write && yarn run lint:eslint --fix && yarn run lint:style --fix",
"lint:check": "yarn run lint:prettier && yarn run lint:wxs && yarn run lint:wxml && yarn run lint:eslint && yarn run lint:style",
"lint:eslint": "eslint --ext .ts,.wxs .",
"lint:style": "stylelint **/*.scss",
"lint:prettier": "prettier --check .",
"lint:wxml": "prettier --check --parser html **/*.wxml",
"lint:wxs": "prettier --check --parser babel-flow **/*.wxs",
"packages:check-update": "ncu --deep --timeout 600000",
"packages:update": "ncu -u --deep --timeout 600000 && yarn install && yarn upgrade",
"postinstall": "husky install",
"watch": "gulp watch"
},
"devDependencies": {
"@mr-hope/gulp-sass": "2.0.0",
"@types/node": "14.14.32",
"@typescript-eslint/eslint-plugin": "4.17.0",
"@typescript-eslint/parser": "4.17.0",
"commitizen": "^4.2.3",
"conventional-changelog-cli": "2.1.1",
"cz-conventional-changelog": "3.3.0",
"eslint": "7.21.0",
"eslint-config-prettier": "8.1.0",
"eslint-plugin-prettier": "3.3.1",
"gulp": "4.0.2",
"gulp-rename": "2.0.0",
"gulp-typescript": "6.0.0-alpha.1",
"husky": "5.1.3",
"lint-staged": "10.5.4",
"miniprogram-api-typings": "3.3.0",
"npm-check-updates": "11.2.0",
"prettier": "2.2.1",
"stylelint": "13.12.0",
"stylelint-config-prettier": "8.0.2",
"stylelint-config-standard": "21.0.0",
"stylelint-order": "4.1.0",
"stylelint-scss": "3.19.0",
"typescript": "4.2.3"
},
"config": {
"commitizen": {
"path": "./node_modules/cz-conventional-changelog"
}
},
"lint-staged": {
"*.{js,ts}": "eslint --fix",
"*.{js,ts,json,yaml,.md}": "prettier --write",
"*.wxss": "stylelint --fix",
"*.wxml": "prettier --parser html --write",
"*.wxs": "prettier --parser babel-flow --write"
},
"dependencies": {
"wx-server-sdk": "^2.4.0"
}
}