-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathpackage.json
107 lines (107 loc) · 3.12 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
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
{
"name": "photo-album",
"version": "0.1.0",
"description": "Serverless Shorten Urls Service",
"main": "./dist/server.js",
"publishConfig": {
"access": "public"
},
"scripts": {
"dev:client": "cd client && npm run dev:h5",
"dev:server": "NODE_ENV=development ts-node src/server.ts",
"deploy:client": "sls deploy --target=./client",
"deploy:server": "npm run build && sls deploy",
"deploy:layer": "sls deploy --target=./layer",
"deploy:db": "sls deploy --target=./db",
"deploy:vpc": "sls deploy --target=./vpc",
"deploy:cos": "sls deploy --target=./cos",
"docker:up": "docker-compose up -d",
"docker:down": "docker-compose down",
"test": "jest",
"build": "rimraf ./dist && npm run compile",
"compile": "tsc",
"format": "npm run lint && npm run prettier",
"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,ts,json,md,yaml,yml}'",
"prettier:fix": "prettier --write '**/*.{css,html,js,ts,json,md,yaml,yml}'",
"pub": "sls registry publish"
},
"engines": {
"node": ">=10.18"
},
"husky": {
"hooks": {
"pre-commit": "lint-staged",
"commit-msg": "commitlint -E HUSKY_GIT_PARAMS",
"pre-push": "npm run lint:fix && npm run prettier:fix"
}
},
"lint-staged": {
"**/*.{js,ts,tsx}": [
"npm run lint:fix"
],
"**/*.{css,html,js,ts,json,md,yaml,yml}": [
"npm run prettier:fix"
]
},
"keywords": [
"photo-album",
"template"
],
"author": "yugasun",
"license": "MIT",
"dependencies": {
"@tencent-sdk/capi": "^1.1.8",
"body-parser": "^1.19.0",
"compression": "^1.7.4",
"cors": "^2.8.5",
"express": "^4.17.1",
"mysql2": "^2.2.5",
"nanoid": "^3.1.12",
"pg": "^8.3.3",
"pg-hstore": "^2.3.3",
"pug": "^3.0.0",
"reflect-metadata": "^0.1.13",
"sequelize": "^6.3.5",
"tslib": "^2.0.1"
},
"devDependencies": {
"@commitlint/cli": "^8.3.5",
"@commitlint/config-conventional": "^8.3.4",
"@types/body-parser": "^1.19.0",
"@types/compression": "^1.7.0",
"@types/cors": "^2.8.10",
"@types/express": "^4.17.8",
"@types/jest": "^26.0.13",
"@types/node": "^14.11.2",
"@types/validator": "^13.1.0",
"@typescript-eslint/eslint-plugin": "^4.1.0",
"@typescript-eslint/parser": "^4.1.0",
"cross-env": "^7.0.3",
"dotenv": "^8.2.0",
"eslint": "^6.8.0",
"eslint-config-prettier": "^6.10.0",
"eslint-plugin-prettier": "^3.1.2",
"eslint-plugin-react": "^7.21.2",
"husky": "^4.2.3",
"jest": "^26.4.2",
"lint-staged": "^10.0.8",
"prettier": "^1.19.1",
"rimraf": "^3.0.2",
"shelljs": "^0.8.4",
"ts-jest": "^26.3.0",
"ts-node": "^9.1.1",
"typescript": "^4.2.4",
"typescript-json-schema": "^0.43.0"
},
"repository": {
"type": "git",
"url": "git+https://github.com/serverless-plus/photo-album.git"
},
"bugs": {
"url": "https://github.com/serverless-plus/photo-album/issues"
},
"homepage": "https://github.com/serverless-plus/photo-album#readme"
}