-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
105 lines (105 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
{
"type": "module",
"name": "hoosat-create",
"version": "1.0.0",
"description": "Hoosat Create is React SSR & CSR Stack made by Hoosat Oy",
"author": "",
"license": "MIT License",
"main": "index.js",
"bugs": {
"url": "https://github.com/Hoosat-Oy/hoosat-template/issues"
},
"repository": {
"type": "git",
"url": "https://github.com/Hoosat-Oy/hoosat-template"
},
"scripts": {
"rsync": "rsync -rPz --delete ./build ./package.json YOURSERVER:~FOLDER",
"test": "jest",
"clean:build-dev": "rm -rf build-dev",
"clean:build-ts": "rm -rf build-ts",
"clean:build": "rm -rf build",
"clean": "npm-run-all -p clean:build-ts clean:build-dev clean:build",
"dev:compress:assets:br": "node --loader ts-node/esm build-tools/compress-files.ts build-dev/public/ br",
"dev:compress:assets:deflate": "node --loader ts-node/esm build-tools/compress-files.ts build-dev/public/ deflate",
"dev:compress:assets:gzip": "node --loader ts-node/esm build-tools/compress-files.ts build-dev/public/ gzip",
"dev:compress:assets": "npm-run-all dev:compress:assets:br dev:compress:assets:deflate dev:compress:assets:gzip",
"dev:create:build:directories": "npx mkdirp build-dev && npx mkdirp build-dev/public && npx mkdirp build-dev/public/uploads",
"dev:create:service-worker:urls": "node public/service-worker-urls.js build-dev/public",
"dev:move:assets": "npx ncp public build-dev/public",
"dev:move:css": "node --loader ts-node/esm build-tools/extract-css.ts src/client build-dev/public/styles.css",
"dev:build:client": "webpack --config webpack.client.config.js --mode=development",
"dev:build:server": "webpack --config webpack.server.config.js --mode=development",
"dev:prebuild": "npm-run-all dev:create:build:directories dev:move:assets dev:move:css dev:create:service-worker:urls",
"dev:build": "npm-run-all dev:prebuild dev:build:client dev:build:server dev:compress:assets",
"dev:start": "nodemon --experimental-modules build-dev/server.js development",
"dev:watch": "chokidar './src/' './public/' -c 'npm-run-all dev:build'",
"dev": "npm-run-all clean:build-ts clean:build-dev dev:build -p dev:watch dev:start",
"compress:assets:br": "node --loader ts-node/esm build-tools/compress-files.ts build/public/ br",
"compress:assets:deflate": "node --loader ts-node/esm build-tools/compress-files.ts build/public/ deflate",
"compress:assets:gzip": "node --loader ts-node/esm build-tools/compress-files.ts build/public/ gzip",
"compress:assets": "npm-run-all compress:assets:br compress:assets:deflate compress:assets:gzip",
"create:build:directories": "npx mkdirp build && npx mkdirp build/public && npx mkdirp build/public/uploads",
"create:service-worker:urls": "node public/service-worker-urls.js build/public",
"move:assets": "npx ncp public build/public",
"move:css": "node --loader ts-node/esm build-tools/extract-css.ts src/client build/public/styles.css",
"build:client": "webpack --config webpack.client.config.js --mode=production",
"build:server": "webpack --config webpack.server.config.js --mode=production",
"prebuild": "npm-run-all clean:build-ts clean:build create:build:directories move:assets move:css create:service-worker:urls ",
"build": "npm-run-all prebuild build:client build:server compress:assets",
"deploy": "npm-run-all build rsync clean:build clean:build-ts",
"production:start": "node --experimental-modules build/server.js",
"start": "npm run production:start"
},
"dependencies": {
"dotenv": "^16.3.2",
"formidable": "^3.5.0",
"i18next": "^23.4.1",
"i18next-browser-languagedetector": "^7.1.0",
"i18next-fs-backend": "^2.1.5",
"i18next-http-backend": "^2.2.1",
"react": "^18.2.0",
"react-dom": "^18.2.0",
"react-helmet-async": "^1.3.0",
"react-i18next": "^13.0.3",
"react-markdown": "^8.0.7",
"react-router-dom": "6.4",
"rehype-highlight": "^6.0.0",
"remark-gfm": "^3.0.1",
"save-dev": "^0.0.1-security",
"uuid": "^9.0.0",
"ws": "^8.13.0"
},
"devDependencies": {
"@testing-library/jest-dom": "^5.17.0",
"@testing-library/react": "^14.0.0",
"@types/formidable": "^3.4.0",
"@types/jest": "^29.5.1",
"@types/node": "^16.11.10",
"@types/uuid": "^9.0.2",
"@types/webpack": "^5.28.1",
"@types/ws": "^8.5.5",
"chokidar": "^3.5.3",
"chokidar-cli": "^3.0.0",
"copyfiles": "^2.4.1",
"css-loader": "^6.7.3",
"esm": "^3.2.25",
"file-loader": "^6.2.0",
"jest": "^29.5.0",
"json-loader": "^0.5.7",
"mkdirp": "^3.0.1",
"node-loader": "^2.0.0",
"nodemon": "^2.0.22",
"npm-run-all": "^4.1.5",
"style-loader": "^3.3.2",
"ts-jest": "^29.1.0",
"ts-loader": "^9.2.6",
"ts-node": "^10.4.0",
"typedoc": "^0.24.7",
"typescript": "^5.1.6",
"webpack": "^5.88.2",
"webpack-cli": "^5.1.1",
"webpack-node-externals": "^3.0.0"
},
"keywords": []
}