-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
55 lines (55 loc) · 1.73 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
{
"name": "react-ssr",
"version": "1.0.0",
"description": "Server side rendering static/dynamic content with ReactJS",
"repository": {
"url": "https://github.com/HenryBrown0/react-ssr"
},
"main": "index.js",
"scripts": {
"start": "yarn start-client",
"start-client": "parcel ./index.html --out-dir dist/static",
"start-server": "nodemon dist/index.js",
"watch-server": "parcel watch src/server/index.tsx --target node",
"build": "yarn clean-build && yarn build-client && yarn build-server",
"build-client": "parcel build ./index.html --out-dir dist/static --public-url /static",
"build-server": "parcel build src/server/index.tsx --target node",
"clean-build": "rm -rf .cache/ dist/",
"serve": "node dist/index.js",
"test": "eslint 'src/**'",
"test:fix": "eslint --fix 'src/**'"
},
"author": "HenryBrown0",
"license": "MIT",
"dependencies": {
"axios": "^0.19.0",
"express": "^4.17.1",
"highlight.js": "^9.15.10",
"markdown-it": "^10.0.0",
"react": "^16.9.0",
"react-dom": "^16.9.0",
"react-helmet-async": "^1.0.3",
"react-router-dom": "^5.0.1",
"styled-components": "^4.3.2"
},
"devDependencies": {
"@types/express": "^4.17.1",
"@types/highlight.js": "^9.12.3",
"@types/markdown-it": "^0.0.9",
"@types/react": "^16.9.2",
"@types/react-dom": "^16.9.0",
"@types/react-router-dom": "^4.3.5",
"@types/styled-components": "^4.1.19",
"@typescript-eslint/eslint-plugin": "^2.3.0",
"@typescript-eslint/parser": "^2.3.0",
"eslint": "^6.4.0",
"eslint-config-airbnb": "^18.0.1",
"eslint-plugin-import": "^2.18.2",
"eslint-plugin-jsx-a11y": "^6.2.3",
"eslint-plugin-react": "^7.14.3",
"eslint-plugin-react-hooks": "^1.7.0",
"nodemon": "^1.19.1",
"parcel": "^1.12.3",
"typescript": "^3.5.3"
}
}