Skip to content

Commit 53aab7e

Browse files
committed
fix: data
Signed-off-by: Anshuman Chhapolia <anshuman@smoketrees.in>
1 parent 621c527 commit 53aab7e

29 files changed

+1997
-1938
lines changed

.npmrc

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
node-linker=hoisted

package.json

Lines changed: 79 additions & 76 deletions
Original file line numberDiff line numberDiff line change
@@ -1,78 +1,81 @@
11
{
2-
"name": "template-ts",
3-
"version": "3.0.0",
4-
"description": "TypeScript version of our Node.js template",
5-
"main": "dist/index.js",
6-
"scripts": {
7-
"build": "tsc",
8-
"test": "NODE_OPTIONS=--enable-source-maps mocha --exit --file dist/tests/index.test.js",
9-
"test-w": "set NODE_OPTIONS=--enable-source-maps && set CI=true && mocha --exit dist/tests/index.test.js",
10-
"lint": "eslint src/**/*.ts",
11-
"watch": "tsc -w",
12-
"dev": "NODE_OPTIONS=--enable-source-maps nodemon -L -w ./dist -w ./src -w docs/build/docs.yaml dist/index.js",
13-
"dev-w": "set NODE_OPTIONS=--enable-source-maps && nodemon -L -w dist -w src dist/index.js",
14-
"start": "node dist/index.js",
15-
"coverage": "c8 --all --reporter=lcov npm run test",
16-
"coverage-w": "tsc && nyc --reporter=lcov npm run test-w && codecov",
17-
"migration-generate": "typeorm migration:generate -d './dist/datasource.js'",
18-
"migration-create": "typeorm migration:create"
19-
},
20-
"repository": {
21-
"type": "git",
22-
"url": "git+https://github.com/smoke-trees/node-template-ts.git"
23-
},
24-
"keywords": [
25-
"nodejs",
26-
"template",
27-
"typescript"
28-
],
29-
"author": "SmokeTrees",
30-
"license": "MIT",
31-
"bugs": {
32-
"url": "https://github.com/smoke-trees/node-template-ts/issues"
33-
},
34-
"homepage": "https://github.com/smoke-trees/node-template-ts#readme",
35-
"eslintConfig": {
36-
"rules": {
37-
"no-unused-vars": "off",
38-
"@typescript-eslint/no-unused-vars": "error"
39-
}
40-
},
41-
"dependencies": {
42-
"@smoke-trees/postgres-backend": "^2.3.3",
43-
"@smoke-trees/smoke-context": "^1.4.8",
44-
"chai-http": "^4.4.0",
45-
"compression": "^1.7.4",
46-
"cors": "^2.8.5",
47-
"dotenv": "^16.4.5",
48-
"express": "^4.19.1",
49-
"morgan": "^1.10.0",
50-
"pg": "^8.11.3",
51-
"swagger-ui-express": "^5.0.0",
52-
"typeorm": "0.3.20",
53-
"winston": "^3.12.0",
54-
"yamljs": "^0.3.0"
55-
},
56-
"devDependencies": {
57-
"@types/chai": "^4.3.14",
58-
"@types/compression": "^1.7.5",
59-
"@types/cors": "^2.8.17",
60-
"@types/express": "^4.17.21",
61-
"@types/mocha": "^10.0.6",
62-
"@types/morgan": "^1.9.9",
63-
"@types/pg": "^8.11.4",
64-
"@types/supertest": "^6.0.2",
65-
"@types/swagger-ui-express": "^4.1.6",
66-
"@types/yamljs": "^0.2.34",
67-
"@typescript-eslint/eslint-plugin": "^7.3.1",
68-
"@typescript-eslint/parser": "^7.3.1",
69-
"c8": "^9.1.0",
70-
"chai": "^4.4.1",
71-
"eslint": "^8.57.0",
72-
"eslint-config-prettier": "^9.1.0",
73-
"mocha": "^10.3.0",
74-
"nodemon": "^3.1.0",
75-
"prettier": "^3.2.5",
76-
"typescript": "^5.4.3"
77-
}
2+
"name": "template-ts",
3+
"version": "3.0.0",
4+
"description": "TypeScript version of our Node.js template",
5+
"main": "dist/index.js",
6+
"scripts": {
7+
"build": "tsc",
8+
"test": "NODE_OPTIONS=--enable-source-maps mocha --exit --file dist/tests/index.test.js",
9+
"test-w": "set NODE_OPTIONS=--enable-source-maps && set CI=true && mocha --exit dist/tests/index.test.js",
10+
"lint": "eslint src/**/*.ts",
11+
"watch": "tsc -w",
12+
"dev": "NODE_OPTIONS=--enable-source-maps nodemon -L -w ./dist -w ./src -w docs/build/docs.yaml dist/index.js",
13+
"dev-w": "set NODE_OPTIONS=--enable-source-maps && nodemon -L -w dist -w src dist/index.js",
14+
"start": "node dist/index.js",
15+
"coverage": "c8 --all --reporter=lcov npm run test",
16+
"coverage-w": "tsc && nyc --reporter=lcov npm run test-w && codecov",
17+
"migration-generate": "typeorm migration:generate -d './dist/datasource.js'",
18+
"migration-create": "typeorm migration:create"
19+
},
20+
"repository": {
21+
"type": "git",
22+
"url": "git+https://github.com/smoke-trees/node-template-ts.git"
23+
},
24+
"keywords": [
25+
"nodejs",
26+
"template",
27+
"typescript"
28+
],
29+
"author": "SmokeTrees",
30+
"license": "MIT",
31+
"bugs": {
32+
"url": "https://github.com/smoke-trees/node-template-ts/issues"
33+
},
34+
"homepage": "https://github.com/smoke-trees/node-template-ts#readme",
35+
"eslintConfig": {
36+
"rules": {
37+
"no-unused-vars": "off",
38+
"@typescript-eslint/no-unused-vars": "error"
39+
}
40+
},
41+
"dependencies": {
42+
"@smoke-trees/postgres-backend": "~2.4.2",
43+
"@smoke-trees/smoke-context": "^1.5.4",
44+
"chai-http": "^5.1.1",
45+
"compression": "^1.7.5",
46+
"cors": "^2.8.5",
47+
"dotenv": "^16.4.7",
48+
"express": "^4.21.2",
49+
"morgan": "^1.10.0",
50+
"pg": "^8.13.1",
51+
"swagger-ui-express": "^5.0.1",
52+
"typeorm": "0.3.20",
53+
"winston": "^3.17.0",
54+
"yamljs": "^0.3.0"
55+
},
56+
"devDependencies": {
57+
"@types/chai": "^5.0.1",
58+
"@types/compression": "^1.7.5",
59+
"@types/cors": "^2.8.17",
60+
"@types/express": "^4.17.21",
61+
"@types/mocha": "^10.0.10",
62+
"@types/morgan": "^1.9.9",
63+
"@types/node": "^22.10.5",
64+
"@types/pg": "^8.11.10",
65+
"@types/qs": "^6.9.17",
66+
"@types/superagent": "^8.1.9",
67+
"@types/supertest": "^6.0.2",
68+
"@types/swagger-ui-express": "^4.1.7",
69+
"@types/yamljs": "^0.2.34",
70+
"@typescript-eslint/eslint-plugin": "^8.19.1",
71+
"@typescript-eslint/parser": "^8.19.1",
72+
"c8": "^10.1.3",
73+
"chai": "^5.1.2",
74+
"eslint": "^9.18.0",
75+
"eslint-config-prettier": "^9.1.0",
76+
"mocha": "^11.0.1",
77+
"nodemon": "^3.1.9",
78+
"prettier": "^3.4.2",
79+
"typescript": "^5.7.3"
80+
}
7881
}

0 commit comments

Comments
 (0)