-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
74 lines (74 loc) · 3.11 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
{
"name": "ontid-eslint-prettier-husky-nodejs",
"version": "0.1.0",
"description": "NodeJs Template",
"files": [
"dist"
],
"scripts": {
"build": "tsc --project tsconfig.build.json && tsc-alias -p tsconfig.build.json",
"commit-msg": "commitlint --edit ${1}",
"commit": "git add . && git-cz",
"lint": "eslint \"src/**/*.ts\"",
"lint:fix": "eslint \"src/**/*.ts\" --fix",
"migrate:create": "APP_ENV=cli typeorm migration:create src/db/migration/$npm_config_name",
"migrate:revert": "APP_ENV=cli node -r ts-node/register ./node_modules/typeorm/cli.js migration:revert -d ./src/db/typeorm/data-source.ts",
"migrate:run": "APP_ENV=cli node -r ts-node/register ./node_modules/typeorm/cli.js migration:run -d ./src/db/typeorm/data-source.ts",
"migrate:show": "APP_ENV=cli node -r ts-node/register ./node_modules/typeorm/cli.js migration:show -d ./src/db/typeorm/data-source.ts",
"pre-commit": "npm run lint:fix && git add -A .",
"prepare": "husky install",
"release:major": "standard-version --release-as major && git push --follow-tags && npm publish",
"release:minor": "standard-version --release-as minor && git push --follow-tags && npm publish",
"release:patch": "standard-version --release-as patch && git push --follow-tags && npm publish",
"schema:log": "APP_ENV=cli node -r ts-node/register ./node_modules/typeorm/cli.js schema:log -d ./src/db/typeorm/data-source.ts",
"schema:sync": "APP_ENV=cli node -r ts-node/register ./node_modules/typeorm/cli.js schema:sync -d ./src/db/typeorm/data-source.ts",
"test:integration": "APP_ENV=test mocha -r ts-node/register tests/integration/**/*.test.ts",
"test:unit": "APP_ENV=test mocha -r ts-node/register tests/unit/**/*.test.ts",
"typeorm": "APP_ENV=cli node -r ts-node/register ./node_modules/typeorm/cli.js"
},
"repository": {
"type": "git",
"url": "git+https://github.com/ontid-team/ontid-eslint-prettier-husky-nodejs.git"
},
"author": "Ontid/Neverovski",
"license": "ISC",
"bugs": {
"url": "https://github.com/ontid-team/ontid-eslint-prettier-husky-nodejs/issues"
},
"engines": {
"node": ">=18",
"npm": ">=8"
},
"devDependencies": {
"@commitlint/cli": "^17.4.4",
"@commitlint/config-conventional": "^17.4.4",
"@commitlint/cz-commitlint": "^17.4.4",
"@types/node": "^18.14.0",
"@typescript-eslint/eslint-plugin": "^5.53.0",
"@typescript-eslint/parser": "^5.53.0",
"chai": "^4.3.7",
"chai-http": "^4.3.0",
"commitizen": "^4.3.0",
"eslint": "^8.34.0",
"eslint-config-airbnb-typescript": "^17.0.0",
"eslint-config-prettier": "^8.6.0",
"eslint-import-resolver-typescript": "^3.5.3",
"eslint-plugin-import": "^2.27.5",
"eslint-plugin-prettier": "^4.2.1",
"eslint-plugin-typescript-sort-keys": "^2.1.0",
"husky": "^8.0.3",
"mocha": "^10.2.0",
"prettier": "^2.8.4",
"standard-version": "^9.5.0",
"ts-node": "^10.9.1",
"tsc-alias": "^1.8.2",
"tsc-watch": "^6.0.0",
"tsconfig-paths": "^4.1.2",
"typescript": "^4.9.5"
},
"config": {
"commitizen": {
"path": "@commitlint/cz-commitlint"
}
}
}