-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
88 lines (88 loc) · 3.95 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
{
"name": "n9-node-gateway-skeleton",
"description": "Gateway Skeleton",
"private": true,
"version": "0.1.1",
"main": "index.js",
"scripts": {
"dev": "TS_NODE_FILES=true nodemon -V --exec 'fuser -k 10010/tcp; sleep 2; node -r ts-node/register --inspect=0.0.0.0:10010 -- src/index.ts'",
"build": "rm -rf dist/ && tsc && yarn run generate-openapi-documentation && cp openapi-documentation.json dist/ && cp package.json dist/ && cp -r node_modules/ dist/",
"start": "node dist/",
"mongodb-migrate": "echo 'No mongodb here !'",
"mongodb-migrate:one-shot": "echo 'No mongodb here !'",
"mongodb-migrate:docker": "echo 'No mongodb here !'",
"generate-openapi-documentation": "TS_NODE_FILES=true ts-node -- src/generate-openapi-documentation.ts",
"generate-openapi-documentation-debug": "TS_NODE_FILES=true node -r ts-node/register --inspect-brk=0.0.0.0:10010 -- src/generate-openapi-documentation.ts",
"format": "prettier --write '{,@(src|test)/**/}*.*'",
"lint": "eslint --config .eslintrc.yaml '{src,test}/**/*.ts'",
"lint:apply": "npm run format && eslint --fix --config .eslintrc.yaml '{src,test}/**/*.ts'",
"lint:verbose": "eslint --fix --config .eslintrc.yaml '{src,test}/**/*.ts' --format unix '{src,test}/**/*.ts'",
"test:docker": "nyc ava --color --verbose --serial --timeout=2m",
"test:js": "yarn run build && export NODE_ENV=test && cd dist && nyc ava --verbose --color --serial",
"test:dev": "export NODE_ENV=test && TS_NODE_FILES=true ava --verbose --color --serial --watch --config ava-ts.config.mjs",
"test:dev:debug": "export NODE_ENV=test && TS_NODE_FILES=true ava debug --verbose --color --serial --break --config ava-ts.config.mjs",
"test": "yarn run lint && export NODE_ENV=test && TS_NODE_FILES=true nyc ava --verbose --color --serial --config ava-ts.config.mjs && nyc report --reporter=text-summary",
"rm:src": "find ./ -maxdepth 1 -mindepth 1 ! \\( -name 'dist' \\) -exec rm -rf {} \\;",
"coverage": "nyc report --reporter=text-lcov > coverage.lcov && codecov",
"release": "export BABEL_DISABLE_CACHE=1 && release-it --ci",
"release:dry": "export BABEL_DISABLE_CACHE=1 && release-it --ci --dry-run=true",
"build:changelog": "conventional-changelog -i CHANGELOG.md -s -p jscs -r 0",
"post:release": "echo Successfully released $npm_package_version",
"docker:start": "docker-compose up",
"docker:mongodb-migrate:one-shot": "docker-compose -f docker-compose-mongodb-migration-one-shot.yml up"
},
"repository": {
"type": "git",
"url": "git+https://github.com/neo9/n9-node-gateway-skeleton.git"
},
"keywords": [
"routing-controller",
"express",
"typescript"
],
"engines": {
"node": ">=16.0.0"
},
"homepage": "https://github.com/neo9/n9-node-gateway-skeleton",
"devDependencies": {
"@ava/typescript": "^3.0.1",
"@commitlint/cli": "^16.2.3",
"@neo9/n9-coding-style": "^3.0.1",
"@release-it/conventional-changelog": "^4.2.2",
"@tsconfig/node16": "^1.0.2",
"@types/express": "^4.17.13",
"@types/http-proxy-middleware": "^1.0.0",
"@types/imperium": "^2.0.3",
"@types/jsonwebtoken": "^8.5.8",
"@types/lodash": "^4.14.180",
"@types/node": "^17.0.21",
"@types/route-parser": "^0.1.4",
"@types/std-mocks": "^1.0.1",
"@types/url-join": "^4.0.1",
"ava": "^4.1.0",
"conventional-changelog-cli": "^2.2.2",
"husky": "^4.3.8",
"nodemon": "^2.0.15",
"nyc": "^15.1.0",
"prettier": "^2.6.0",
"release-it": "^14.13.1",
"std-mocks": "^1.0.1",
"ts-mockito": "^2.6.1",
"ts-node": "^10.7.0",
"typescript": "^4.6.2"
},
"dependencies": {
"@neo9/n9-node-conf": "^1.4.0",
"bson": "^4.6.1",
"copyfiles": "^2.4.1",
"glob": "^7.2.0",
"http-proxy-middleware": "^2.0.4",
"imperium": "^2.0.2",
"jsonwebtoken": "^8.2.1",
"lodash": "^4.17.21",
"n9-node-routing": "^1.33.0",
"route-parser": "^0.0.5",
"source-map-support": "^0.5.21",
"url-join": "^4.0.0"
}
}