-
Notifications
You must be signed in to change notification settings - Fork 40
/
package.json
65 lines (65 loc) · 1.9 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
{
"name": "fc",
"version": "0.1.35",
"main": "./dist/index.js",
"dependencies": {
"@alicloud/fc2": "^2.3.0",
"@serverless-devs/core": "latest",
"i18n": "^0.13.2",
"immutable": "^4.0.0",
"inquirer": "^8.1.1",
"js-yaml": "^4.0.0",
"lodash": "^4.17.21",
"tty-table": "^4.1.3"
},
"autoInstall": false,
"devDependencies": {
"@alicloud/log": "^1.2.1",
"@alicloud/mns": "^1.0.0",
"@types/eslint": "^7.2.6",
"@types/jest": "^26.0.10",
"@types/lodash": "^4.14.171",
"@types/node": "14",
"ali-oss": "^6.16.0",
"callsites": "^4.0.0",
"crypto": "^1.0.1",
"dotenv": "^10.0.0",
"esbuild": "^0.14.10",
"f2elint": "^0.4.4",
"husky": "^7.0.2",
"jest": "^26.4.0",
"promise-retry": "^2.0.1",
"rimraf": "^3.0.2",
"ts-jest": "^26.2.0",
"ts-loader": "^8.0.14",
"ts-node": "^9.1.1",
"typescript": "^4.4.3"
},
"scripts": {
"preln": "rm -rf ~/.s/components/devsapp.cn/devsapp/fc/dist",
"ln": "ln -s $(pwd)/dist ~/.s/components/devsapp.cn/devsapp/fc/dist",
"start": "npm run dev",
"dev": "npm run prebuild && npx tsc -w -p tsconfig.json",
"prebuild": "npm install && npx rimraf dist",
"build": "npm run lint && npm run fix && npm run esbuild",
"esbuild": "esbuild src/index.ts --bundle --log-level=error --minify --platform=node --format=cjs --target=node10.4 --external:@serverless-devs/core --outfile=dist/index.js",
"test-integration": "jest --testNamePattern ^Integration::",
"lint": "f2elint scan",
"fix": "f2elint fix",
"watch": "tsc -w",
"typecheck": "npx tsc -p tsconfig.json --noEmit"
},
"husky": {
"hooks": {
"commit-msg": "f2elint exec commitlint -E HUSKY_GIT_PARAMS",
"pre-commit": "f2elint exec lint-staged"
}
},
"lint-staged": {
"**/*.{js,jsx,ts}": "f2elint exec eslint"
},
"jest": {
"preset": "ts-jest",
"testEnvironment": "node"
}
}