-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
70 lines (70 loc) · 2.25 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
{
"name": "node-react-ts-starter-snowpack",
"version": "1.0.0",
"description": "A starter repo for NodeJS and React in typescript using TSC and Snowpack",
"main": "dist/index.js",
"private": true,
"scripts": {
"start": "run-p start-server start-web",
"start-web": "snowpack dev --reload",
"start-server": "run-s clean && tsc-watch --project server/tsconfig.json --onSuccess 'yarn run serve-build'",
"build": "run-s build-server build-web",
"build-web": "snowpack build",
"build-server": "tsc --project server/tsconfig.json",
"serve-build": "env-cmd -f .env node SERVER_BUILD/index.js",
"test": "web-test-runner \"web/**/*.test.tsx\"",
"format": "prettier --write \"web/**/*.{js,jsx,ts,tsx}\"",
"lint": "prettier --check \"web/**/*.{js,jsx,ts,tsx}\"",
"clean": "rm -rf SERVER_BUILD"
},
"repository": {
"type": "git",
"url": "git+https://github.com/cherihung/node-react-ts-starter-snowpack.git"
},
"author": "Cheri Hung",
"license": "MIT",
"engines": {
"node": ">=12.10.0"
},
"bugs": {
"url": "https://github.com/cherihung/node-react-ts-starter-snowpack/issues"
},
"homepage": "https://github.com/cherihung/node-react-ts-starter-snowpack#readme",
"dependencies": {
"cors": "^2.8.5",
"env-cmd": "^10.1.0",
"express": "^4.17.1",
"module-alias": "^2.2.2",
"morgan": "^1.10.0",
"react": "^17.0.0",
"react-dom": "^17.0.0"
},
"devDependencies": {
"@snowpack/plugin-dotenv": "^2.0.5",
"@snowpack/plugin-react-refresh": "^2.4.0",
"@snowpack/plugin-typescript": "^1.2.1",
"@snowpack/plugin-webpack": "^2.3.0",
"@snowpack/web-test-runner-plugin": "^0.2.1",
"@testing-library/react": "^11.0.0",
"@tsconfig/node12": "^1.0.7",
"@types/chai": "^4.2.13",
"@types/cors": "^2.8.9",
"@types/express": "^4.17.9",
"@types/morgan": "^1.9.2",
"@types/react": "^17.0.0",
"@types/react-dom": "^17.0.0",
"@types/snowpack-env": "^2.3.2",
"@web/test-runner": "^0.10.0",
"chai": "^4.2.0",
"http-proxy": "^1.18.1",
"npm-run-all": "^4.1.5",
"prettier": "^2.0.5",
"snowpack": "^3.0.11",
"snowpack-plugin-svgr": "^0.1.2",
"tsc-watch": "^4.2.9",
"typescript": "^4.1.3"
},
"_moduleAliases": {
"@web": "dist/"
}
}