This repository has been archived by the owner on Dec 18, 2024. It is now read-only.
generated from textbook/starter-kit
-
-
Notifications
You must be signed in to change notification settings - Fork 28
/
Copy pathpackage.json
133 lines (133 loc) · 4.88 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
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
{
"name": "@codeyourfuture/tech-products-demo",
"version": "0.0.1",
"description": " Example app for tech products interview experiment",
"private": true,
"scripts": {
"build": "npm run build:server && npm run build:client",
"postbuild": "buildinfo --output dist/static/build-info.txt",
"build:client": "vite build ./client",
"build:server": "babel server --copy-files --delete-dir-on-start --ignore \"**/*.test.js,**/setupTests.js\" --no-copy-ignored --out-dir dist",
"postbuild:server": "del-cli ./dist/static ./dist/**/README.md",
"dev": "concurrently --kill-others \"npm:dev:*\"",
"dev:client": "vite ./client",
"dev:server": "cross-env LOG_LEVEL=debug PORT=4202 nodemon --config .config/nodemon.json --inspect server/server.js",
"e2e": "cross-env DOTENV_CONFIG_PATH=e2e/.env concurrently --kill-others --success first --names \"app,e2e\" \"npm:serve\" \"npm:e2e:run\"",
"pree2e:run": "wait-on --log --timeout 60000 http-get://localhost:4201",
"e2e:run": "cypress run",
"lint": "npm run lint:eslint . && npm run lint:prettier -- --check .",
"lint:eslint": "eslint --config .config/eslint.config.js",
"lint:fix": "npm run lint:eslint -- --fix . && npm run lint:prettier -- --write .",
"lint:prettier": "prettier --config .config/.prettierrc --ignore-path .config/.lintignore --ignore-unknown",
"migration": "node-pg-migrate --config-file .config/migrations.json",
"prepare": "husky || echo 'No Husky 🐶'",
"preserve": "npm run build",
"serve": "npm start",
"services:start": "docker compose up --build --detach",
"services:stop": "docker compose down --remove-orphans",
"ship": "npm run lint && npm run test:cover && npm run e2e",
"prestart": "node bin/run-migrations.js",
"start": "node dist/server.js",
"test": "npm run test:client && npm run test:server",
"test:client": "vitest --config client/vite.config.mjs --run",
"test:cover": "npm run test:client -- --coverage && npm run test:server -- --coverage",
"posttest:cover": "nyc report --report-dir reports/coverage --reporter lcov",
"test:server": "jest --config server/jest.config.js --runInBand",
"test:watch": "echo 'global watch not supported'",
"test:watch:client": "npm run test:client -- --no-run",
"test:watch:server": "npm run test:server -- --watch",
"uuid": "node --print 'require(\"node:crypto\").randomUUID()'"
},
"lint-staged": {
"*.{js,jsx}": "npm run lint:eslint -- --fix",
"*": "npm run lint:prettier -- --write"
},
"repository": {
"type": "git",
"url": "git+https://github.com/CodeYourFuture/tech-products-demo.git"
},
"author": "Jonathan Sharpe <[email protected]>",
"contributors": [],
"license": "ISC",
"bugs": {
"url": "https://github.com/CodeYourFuture/tech-products-demo/issues"
},
"homepage": "https://github.com/CodeYourFuture/tech-products-demo#readme",
"devDependencies": {
"@babel/cli": "^7.25.9",
"@babel/core": "^7.26.0",
"@babel/eslint-parser": "^7.25.9",
"@babel/node": "^7.26.0",
"@babel/plugin-transform-runtime": "^7.25.9",
"@babel/preset-env": "^7.26.0",
"@codeyourfuture/eslint-config-standard": "^5.1.0",
"@testing-library/cypress": "^10.0.2",
"@testing-library/dom": "^10.4.0",
"@testing-library/jest-dom": "^6.6.3",
"@testing-library/react": "^16.0.1",
"@testing-library/user-event": "^14.5.2",
"@textbook/build-info": "^1.3.0",
"@types/eslint": "^9.6.1",
"@types/supertest": "^6.0.2",
"@vitejs/plugin-react-swc": "^3.7.1",
"@vitest/coverage-v8": "^2.1.4",
"@vitest/eslint-plugin": "^1.1.7",
"axe-core": "^4.10.2",
"clsx": "^2.1.1",
"concurrently": "^9.0.1",
"cross-env": "^7.0.3",
"cypress": "^13.15.1",
"cypress-axe": "^1.5.0",
"del-cli": "^6.0.0",
"eslint": "^9.14.0",
"eslint-plugin-cypress": "^4.1.0",
"eslint-plugin-import": "^2.31.0",
"eslint-plugin-jest": "^28.8.3",
"eslint-plugin-jsx-a11y": "^6.10.2",
"eslint-plugin-react": "^7.37.2",
"eslint-plugin-react-hooks": "^5.0.0",
"eslint-plugin-testing-library": "^6.4.0",
"globals": "^15.11.0",
"history": "^5.3.0",
"husky": "^9.1.6",
"jest": "^29.7.0",
"jsdom": "^25.0.1",
"lint-staged": "^15.2.10",
"msw": "^2.6.0",
"nodemon": "^3.1.7",
"nyc": "^17.1.0",
"prettier": "^3.3.3",
"prop-types": "^15.8.1",
"react": "^18.3.1",
"react-dom": "^18.3.1",
"react-router-dom": "^6.27.0",
"sass": "^1.80.6",
"supertest": "^7.0.0",
"vite": "^5.4.10",
"vitest": "^2.0.3",
"wait-on": "^8.0.1",
"whatwg-fetch": "^3.6.20"
},
"dependencies": {
"@babel/runtime": "^7.26.0",
"connect-pg-simple": "^10.0.0",
"dotenv": "^16.4.5",
"dotenv-expand": "^11.0.6",
"express": "^4.21.1",
"express-session": "^1.18.1",
"express-validation": "^4.1.1",
"helmet": "^8.0.0",
"morgan": "^1.10.0",
"node-pg-migrate": "^7.7.1",
"passport": "^0.7.0",
"passport-github2": "^0.1.12",
"pg": "^8.13.1",
"pg-format": "^1.0.4",
"swagger-jsdoc": "^6.2.8",
"swagger-ui-express": "^5.0.1",
"winston": "^3.16.0"
},
"engines": {
"node": "^22.11"
}
}