-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathpackage.json
109 lines (109 loc) · 3.38 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
108
109
{
"name": "shorten-urls",
"version": "0.1.0",
"description": "Serverless Shorten Urls Service",
"main": "./dist/server.js",
"publishConfig": {
"access": "public"
},
"scripts": {
"dev": "NODE_ENV=development ts-node src/server.ts",
"start": "NODE_ENV=production node dist/server.js",
"deploy": "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",
"test": "jest",
"build": "rimraf ./dist && npm run compile && npm run copy-static-assets",
"compile": "tsc",
"copy-static-assets": "ts-node copyStaticAssets.ts",
"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}'",
"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"
},
"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",
"git add ."
],
"**/*.{css,html,js,ts,json,md,yaml,yml}": [
"npm run prettier:fix",
"git add ."
]
},
"keywords": [
"shorten-urls",
"template"
],
"author": "yugasun",
"license": "MIT",
"dependencies": {
"body-parser": "^1.19.0",
"compression": "^1.7.4",
"express": "^4.17.1",
"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",
"@semantic-release/changelog": "^5.0.0",
"@semantic-release/commit-analyzer": "^8.0.1",
"@semantic-release/git": "^9.0.0",
"@semantic-release/release-notes-generator": "^9.0.1",
"@types/body-parser": "^1.19.0",
"@types/compression": "^1.7.0",
"@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",
"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",
"semantic-release": "^17.0.4",
"shelljs": "^0.8.4",
"ts-jest": "^26.3.0",
"typescript": "^4.0.3",
"typescript-json-schema": "^0.43.0"
},
"repository": {
"type": "git",
"url": "git+https://github.com/serverless-plus/shorten-urls.git"
},
"bugs": {
"url": "https://github.com/serverless-plus/shorten-urls/issues"
},
"homepage": "https://github.com/serverless-plus/shorten-urls#readme"
}