-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
128 lines (128 loc) · 5.05 KB
/
package.json
File metadata and controls
128 lines (128 loc) · 5.05 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
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
{
"name": "ts-react-node-project-skeleton",
"version": "0.1.0",
"description": "Skeleton for TypeScript React-Node projects.",
"homepage": "https://ts-react-node-project-skeleton.herokuapp.com",
"author": "Jeff Gore",
"license": "ISC",
"repository": {
"type": "git",
"url": "https://github.com/jeffgore00/jg_ts_react_node_project_skeleton.git"
},
"engines": {
"node": "14.16.1"
},
"nodemonConfig": {
"ignore": [
"**/*.test.ts"
],
"watch": [
"src/server"
],
"ext": "js,ts,json",
"exec": "node -r ts-node/register --unhandled-rejections=strict"
},
"scripts": {
"build": "npm run build:client && npm run build:server",
"build:dev": "NODE_ENV=development npm run build:client",
"build:dev:offline": "BUILD_OFFLINE=true npm run build:dev",
"build:client": "webpack",
"build:server": "rm -rf dist && tsc --project tsconfig.server.json && if [ \"$NODE_ENV\" = \"production\" ]; then node dist/src/server/utils/server-status/edit-server-status-file.js; fi",
"lint": "eslint \"**\"",
"prettier": "prettier '**/*.js' '**/*.ts' '**/*.tsx' '**/*.json' '**/*.md' '**/*.html'",
"prettier:fix": "npm run prettier -- --write",
"prettier:check": "npm run prettier -- --check",
"release": "standard-version",
"send-codecov-report": "sh scripts/send-codecov-report.sh",
"start": "NODE_ENV=production node dist/src/server/index.js --unhandled-rejections=strict",
"start:dev": "concurrently -p \"[{name}]\" -n static,___app -c \"magenta,cyan\" \"NODE_ENV=development webpack serve --open\" \"NODE_ENV=development nodemon src/server/index.ts\" --kill-others",
"start:dev:offline": "BUILD_OFFLINE=true npm run start:dev",
"selenium": "docker run -it -p 4444:4444 vvoyer/selenium-standalone",
"test": "npm run test:unit-and-api && npm run lint && npm run prettier:check && npm run test:spellcheck",
"test:unit-and-api": "NODE_ENV=test jest --runInBand",
"test:unit": "NODE_ENV=test jest --runInBand --testPathIgnorePatterns api.test browser.test",
"test:api": "NODE_ENV=test jest --runInBand --testPathPattern api.test",
"test:browser:base": "NODE_ENV=test wdio wdio.conf.js",
"test:browser:cleanup": "rm wdio.conf.js",
"test:browser": "sh scripts/test-browser.sh",
"test:spellcheck": "spellchecker -d .spellcheck-ignore.js --files \"**/*.md\" \"!CHANGELOG.md\" --no-suggestions",
"test:full:local": "npm run test:browser -- -c --headless && npm run test",
"test:full:prod": "npm run test:browser -- -c --headless -e prod && npm run test",
"view-prod-logs": "heroku logs --tail -a ts-react-node-project-skeleton",
"postinstall": "husky install",
"posttest:unit-and-api": "if [ \"$CI\" = \"true\" ]; then npm run send-codecov-report; fi",
"pretest:browser": "tsc wdio.conf.ts --typeRoots ./node_modules/@types/wdio --resolveJsonModule --esModuleInterop"
},
"dependencies": {
"@types/cors": "2.8.10",
"@types/node": "14.14.44",
"axios": "0.21.1",
"cors": "2.8.5",
"date-fns": "2.21.3",
"express": "4.17.1",
"helmet": "4.6.0",
"morgan": "1.10.0",
"react": "17.0.2",
"react-dom": "17.0.2",
"react-media": "1.10.0",
"serialize-error": "8.1.0",
"styled-components": "5.3.0",
"ts-node": "9.1.1",
"typescript": "4.2.4",
"winston": "3.3.3"
},
"devDependencies": {
"@commitlint/cli": "12.1.1",
"@commitlint/config-conventional": "12.1.1",
"@testing-library/react": "11.2.6",
"@types/compression-webpack-plugin": "6.0.5",
"@types/express": "4.17.11",
"@types/jasmine": "3.7.0",
"@types/jest": "26.0.23",
"@types/morgan": "1.9.2",
"@types/react": "17.0.5",
"@types/react-dom": "17.0.3",
"@types/styled-components": "5.1.9",
"@types/supertest": "2.0.11",
"@types/webpack-bundle-analyzer": "4.4.0",
"@typescript-eslint/eslint-plugin": "4.22.1",
"@typescript-eslint/parser": "4.22.1",
"@wdio/cli": "7.5.7",
"@wdio/jasmine-framework": "7.5.3",
"@wdio/local-runner": "7.5.7",
"@wdio/spec-reporter": "7.5.7",
"@wdio/sync": "7.5.7",
"@wdio/types": "7.5.3",
"chalk": "4.1.1",
"chromedriver": "90.0.0",
"compression-webpack-plugin": "7.1.2",
"concurrently": "6.1.0",
"eslint": "7.26.0",
"eslint-config-airbnb-typescript": "12.3.1",
"eslint-config-prettier": "8.3.0",
"eslint-plugin-import": "2.22.1",
"eslint-plugin-jest": "24.3.6",
"eslint-plugin-jsx-a11y": "6.4.1",
"eslint-plugin-react": "7.23.2",
"eslint-plugin-react-hooks": "4.2.0",
"html-webpack-plugin": "5.3.1",
"husky": "6.0.0",
"jest": "26.6.3",
"lint-staged": "11.0.0",
"nodemon": "2.0.7",
"prettier": "2.2.1",
"source-map-loader": "2.0.1",
"spellchecker-cli": "^4.5.0",
"standard-version": "9.3.0",
"supertest": "6.1.3",
"ts-jest": "26.5.6",
"ts-loader": "9.1.2",
"typescript-plugin-styled-components": "1.5.0",
"wdio-chromedriver-service": "7.0.0",
"webpack": "5.36.2",
"webpack-bundle-analyzer": "4.4.1",
"webpack-cli": "4.7.0",
"webpack-dev-server": "3.11.2",
"yargs": "17.0.1"
}
}