generated from serverless/template-package
-
Notifications
You must be signed in to change notification settings - Fork 10
/
package.json
61 lines (61 loc) · 1.88 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
{
"name": "@serverless/koa",
"main": "src/serverless.js",
"publishConfig": {
"access": "public"
},
"scripts": {
"test": "jest",
"commitlint": "commitlint -f HEAD@{15}",
"lint": "eslint --ext .js,.ts,.tsx .",
"lint:fix": "eslint --fix --ext .js,.ts,.tsx .",
"prettier": "prettier --check '**/*.{css,html,js,json,md,yaml,yml}'",
"prettier:fix": "prettier --write '**/*.{css,html,js,json,md,yaml,yml}'",
"release": "semantic-release",
"release-local": "node -r dotenv/config node_modules/semantic-release/bin/semantic-release --no-ci --dry-run",
"check-dependencies": "npx npm-check --skip-unused --update"
},
"husky": {
"hooks": {
"pre-commit": "ygsec && lint-staged",
"commit-msg": "commitlint -E HUSKY_GIT_PARAMS",
"pre-push": "ygsec && npm run lint:fix && npm run prettier:fix"
}
},
"lint-staged": {
"**/*.{js,ts,tsx}": [
"npm run lint:fix",
"git add ."
],
"**/*.{css,html,js,json,md,yaml,yml}": [
"npm run prettier:fix",
"git add ."
]
},
"author": "Tencent Cloud, Inc.",
"license": "MIT",
"dependencies": {},
"devDependencies": {
"@commitlint/cli": "^8.3.5",
"@commitlint/config-conventional": "^8.3.4",
"@semantic-release/changelog": "^5.0.0",
"@semantic-release/commit-analyzer": "^8.0.1",
"@semantic-release/git": "^9.0.0",
"@semantic-release/npm": "^7.0.4",
"@semantic-release/release-notes-generator": "^9.0.1",
"@serverless/platform-client-china": "^1.0.19",
"@ygkit/secure": "0.0.3",
"axios": "^0.19.2",
"babel-eslint": "^10.1.0",
"dotenv": "^8.2.0",
"eslint": "^6.8.0",
"eslint-config-prettier": "^6.10.0",
"eslint-plugin-import": "^2.20.1",
"eslint-plugin-prettier": "^3.1.2",
"husky": "^4.2.5",
"jest": "^25.0.1",
"lint-staged": "^10.0.8",
"prettier": "^1.19.1",
"semantic-release": "^17.0.4"
}
}