-
Notifications
You must be signed in to change notification settings - Fork 1
/
package.json
79 lines (79 loc) · 2.63 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
{
"name": "@nsourcery/env",
"version": "0.0.6",
"description": "Environment configuration for nsourcery",
"author": "Getúlio Magela Silva",
"license": "MIT",
"repository": "https://github.com/nsourcery/env",
"publishConfig": {
"registry": "https://npm.pkg.github.com"
},
"scripts": {
"prebuild": "rm -rf dist",
"build": "tsc -p tsconfig.build.json",
"format": "prettier \"./**/*.ts\" --write",
"lint": "eslint './**/*.ts' --fix",
"test": "jest",
"test:dev": "jest --watch",
"prerelease": "standard-version",
"release": "npm run build:release",
"prebuild:release": "npm run build",
"build:release": "npm run package:release",
"package:release": "cp package.json README.md dist",
"postrelease": "npm run publish:release",
"prepublish:release": "git push --follow-tags origin main",
"publish:release": "npm publish dist",
"prereset": "rm -rf .git",
"reset": "git init && git checkout -b main",
"postreset": "npm i --save-dev husky"
},
"dependencies": {
"@nestjs/config": "^0.5.0",
"@nestjs/mapped-types": "0.1.0",
"@nsourcery/common": "0.0.2"
},
"devDependencies": {
"@commitlint/cli": "11.0.0",
"@commitlint/config-angular": "11.0.0",
"@nestjs/common": "7.4.4",
"@nestjs/core": "7.4.4",
"@nestjs/platform-express": "7.4.4",
"@nestjs/platform-fastify": "7.4.4",
"@nestjs/testing": "^7.4.4",
"@types/jest": "^26.0.14",
"@types/lodash": "4.14.161",
"@types/node": "^11.15.0",
"@typescript-eslint/eslint-plugin": "4.2.0",
"@typescript-eslint/parser": "4.2.0",
"class-transformer": "0.3.1",
"class-validator": "0.12.2",
"eslint": "7.9.0",
"eslint-config-prettier": "6.12.0",
"eslint-plugin-import": "2.22.0",
"express": "4.17.1",
"fastify-swagger": "3.3.0",
"husky": "^4.3.0",
"jest": "26.4.2",
"lint-staged": "^10.4.0",
"prettier": "2.1.2",
"reflect-metadata": "0.1.13",
"standard-version": "^9.0.0",
"swagger-parser": "10.0.2",
"swagger-ui-express": "4.1.4",
"ts-jest": "26.4.0",
"typescript": "3.9.7"
},
"lint-staged": {
"*.ts": [
"prettier --write",
"git add -f"
]
},
"husky": {
"hooks": {
"pre-commit": "lint-staged && npm test",
"pre-push": "npm test",
"commit-msg": "commitlint -c .commitlintrc.json -E HUSKY_GIT_PARAMS"
}
}
}