-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathpackage.json
More file actions
92 lines (92 loc) · 3.7 KB
/
package.json
File metadata and controls
92 lines (92 loc) · 3.7 KB
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
{
"name": "nodets-rest-auth-bootstrap",
"version": "2.1.2",
"main": "src/index.js",
"repository": "https://github.com/codingwithmanny/nodets-rest-auth-bootstrap",
"author": "@codingwithmanny",
"license": "MIT",
"scripts": {
"env": "export $(cat .env | sed 's/#.*//g' | xargs)",
"commit": "npx git-cz",
"build": "tsc",
"dev": "ts-node-dev src/server.ts",
"start": "export NODE_ENV=production && node build/src/server.js",
"newman:run:local": "./node_modules/.bin/newman run postman/NodeTS-REST-Auth-Bootstrap.postman_collection.json -e postman/NodeTS-Local-ENV-VARS.postman_environment.json",
"newman:run:production": "./node_modules/.bin/newman run postman/NodeTS-REST-Auth-Bootstrap.postman_collection.json -e postman/NodeTS-Production-ENV-VARS.postman_environment.json",
"test": "yarn test:lint; yarn test:coverage; yarn test:newman;",
"test:dev": "yarn test:lint; yarn test:coverage; yarn test:newman:dev;",
"test:newman": "./node_modules/.bin/ts-node ./prisma/commands/UsersDelete.ts --delete; yarn db:seed:all; yarn build; start-server-and-test 'yarn start' http://localhost:8080 newman:run:production;",
"test:newman:dev": "./node_modules/.bin/ts-node ./prisma/commands/UsersDelete.ts --delete; yarn db:seed:all; start-server-and-test 'yarn dev' http://localhost:5000 newman:run:local;",
"test:jest": "./node_modules/.bin/jest --watch src",
"test:coverage": "./node_modules/.bin/jest --coverage src",
"test:lint": "./node_modules/.bin/eslint '*/**/*.{js,ts}' --quiet --fix",
"db:save": "./node_modules/.bin/prisma migrate save --experimental",
"db:seed:gen": "cp ./prisma/seedings/TemplateSeeder.ts.example ./prisma/seedings/NEW.ts",
"db:seed:all": "./node_modules/.bin/ts-node ./prisma/seedings/index.ts",
"db:gen": "./node_modules/.bin/prisma generate",
"db:migrate": "./node_modules/.bin/prisma migrate up --experimental",
"db:rollback": "./node_modules/.bin/prisma migrate down --experimental",
"release": "standard-version"
},
"dependencies": {
"@prisma/cli": "^2.1.3",
"@prisma/client": "^2.1.3",
"@types/bcrypt": "^3.0.0",
"@types/cookie-parser": "^1.4.2",
"@types/cors": "^2.8.6",
"@types/csurf": "^1.9.36",
"@types/express": "^4.17.6",
"@types/express-session": "^1.17.0",
"@types/faker": "^5.5.7",
"@types/helmet": "^0.0.47",
"@types/http-errors": "^1.6.3",
"@types/jest": "^26.0.3",
"@types/jsonwebtoken": "^8.5.0",
"@types/jwt-decode": "^2.2.1",
"@types/node": "^14.0.14",
"axios": "^0.19.2",
"bcrypt": "^5.0.0",
"cookie-parser": "^1.4.5",
"cors": "^2.8.5",
"csurf": "^1.11.0",
"dotenv": "^8.2.0",
"express": "^4.17.1",
"express-validator": "^6.6.0",
"form-data": "^3.0.0",
"helmet": "^4.0.0",
"http-errors": "^1.8.0",
"jsonwebtoken": "^8.5.1",
"jwt-decode": "^2.2.0",
"rand-token": "^1.0.1",
"typescript": "^3.9.6"
},
"config": {
"commitizen": {
"path": "cz-conventional-changelog"
}
},
"devDependencies": {
"@commitlint/cli": "^9.0.1",
"@commitlint/config-conventional": "^9.0.1",
"@typescript-eslint/eslint-plugin": "^3.5.0",
"@typescript-eslint/parser": "^3.5.0",
"codecov": "^3.7.2",
"commitizen": "^4.1.2",
"dotenv-cli": "^3.2.0",
"eslint": "^7.3.1",
"eslint-config-prettier": "^6.11.0",
"eslint-plugin-jest": "^23.17.1",
"eslint-plugin-prettier": "^3.1.4",
"faker": "^4.1.0",
"husky": "^4.2.5",
"jest": "^26.1.0",
"lint-staged": "^10.2.11",
"mockdate": "^3.0.2",
"newman": "^5.1.1",
"prettier": "^2.0.5",
"standard-version": "^8.0.0",
"start-server-and-test": "^1.11.0",
"ts-jest": "^26.1.1",
"ts-node-dev": "^1.0.0-pre.50"
}
}