forked from phuocng/this-vs-that
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
73 lines (73 loc) · 2.42 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
{
"name": "this-vs-that",
"description": "What is the difference between ___ and ___ in the front-end development?",
"author": {
"name": "Nguyen Huu Phuoc",
"email": "[email protected]",
"url": "https://twitter.com/nghuuphuoc"
},
"homepage": "https://thisthat.dev",
"keywords": [
"front-end"
],
"repository": {
"type": "git",
"url": "https://github.com/phuoc-ng/this-vs-that"
},
"bugs": {
"url": "https://github.com/phuoc-ng/this-vs-that/issues"
},
"license": "MIT",
"scripts": {
"copy": "rm -rf dist && mkdir dist && cp -rf public/* dist",
"dev": "npm run copy && webpack --mode development",
"dev-server": "npm run copy && webpack-dev-server",
"build": "npm run copy && webpack --mode production && npm run export",
"sitemap": "TS_NODE_COMPILER_OPTIONS='{\"module\":\"commonjs\"}' ts-node bin/generateSitemap.ts",
"export": "react-snap",
"deploy": "npm run build && npm run sitemap && netlify deploy --dir=dist --prod"
},
"dependencies": {
"@loadable/component": "^5.12.0",
"highlight.js": "^9.17.1",
"react": "^16.12.0",
"react-dom": "^16.12.0",
"react-helmet": "^5.2.1",
"react-markdown": "^4.3.1",
"react-router-dom": "^5.1.2"
},
"devDependencies": {
"@babel/core": "^7.8.3",
"@babel/preset-env": "^7.8.3",
"@babel/preset-react": "^7.7.4",
"@loadable/babel-plugin": "^5.12.0",
"@types/loadable__component": "^5.10.0",
"@types/react": "^16.9.17",
"@types/react-dom": "^16.9.4",
"@types/react-helmet": "^5.0.15",
"@types/react-router-dom": "^5.1.3",
"babel-loader": "^8.0.6",
"css-loader": "^3.4.2",
"cssnano": "^4.1.10",
"html-webpack-plugin": "^3.2.0",
"mini-css-extract-plugin": "^0.9.0",
"postcss-loader": "^3.0.0",
"react-snap": "^1.23.0",
"source-map-loader": "^0.2.4",
"style-loader": "^1.1.3",
"tailwindcss": "^1.7.0",
"ts-loader": "^6.2.1",
"ts-node": "^8.9.0",
"typescript": "^3.7.5",
"webpack": "^4.41.5",
"webpack-cli": "^3.3.10",
"webpack-dev-server": "^3.10.1"
},
"reactSnap": {
"source": "dist",
"minifyHtml": {
"collapseWhitespace": false,
"removeComments": false
}
}
}