-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathpackage.json
63 lines (63 loc) · 1.83 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
{
"name": "fc-build",
"version": "0.0.20",
"main": "./dist/index.js",
"dependencies": {
"@alicloud/fc-builders": "^0.16.4",
"@alicloud/pop-core": "^1.7.10",
"@serverless-devs/core": "latest",
"dockerfile-ast": "^0.3.2",
"dockerode": "^3.2.1",
"draftlog": "^1.0.12",
"fs-extra": "^9.1.0",
"httpx": "^2.1.2",
"js-yaml": "^4.0.0",
"nested-object-assign": "^1.0.4",
"readline": "^1.3.0",
"string-random": "0.1.3",
"tar-fs": "^2.1.1",
"uuid": "^8.3.2"
},
"autoInstall": false,
"devDependencies": {
"@types/eslint": "^7.2.6",
"@types/fs-extra": "^9.0.12",
"@types/jest": "^26.0.10",
"@types/node": "14",
"@types/uuid": "^8.3.1",
"@vercel/ncc": "^0.24.0",
"f2elint": "^0.4.4",
"jest": "^26.4.0",
"rimraf": "^3.0.2",
"ts-jest": "^26.2.0",
"ts-loader": "^8.0.14",
"typescript": "^4.4.3"
},
"scripts": {
"preln": "rm -rf ~/.s/components/devsapp.cn/devsapp/fc-build/dist",
"ln": "ln -s $(pwd)/dist ~/.s/components/devsapp.cn/devsapp/fc-build/dist",
"start": "npm run prebuild && npm run watch",
"watch": "npx tsc -w -p tsconfig.json",
"prebuild": "npm i && rimraf dist && ex -sc '15i|//@ts-ignore' -cx node_modules/draftlog/index.d.ts",
"build": "npm run fix && npm run lint && npm run esbuild",
"esbuild": "npx ncc build src/index.ts -m -e @serverless-devs/core -o dist",
"test": "jest",
"test:cov": "jest --coverage",
"lint": "f2elint scan",
"fix": "f2elint fix",
"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"
}
}