forked from netlify-templates/victor-hugo
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
96 lines (96 loc) · 2.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
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
{
"name": "victor-hugo",
"version": "1.0.0",
"description": "Victor Hugo is a Hugo boilerplate for creating truly epic websites!",
"repository": "netlify/victor-hugo",
"license": "MIT",
"author": "",
"main": "index.js",
"scripts": {
"prebuild": "rimraf dist",
"build": "npm run build:webpack && npm run build:hugo",
"build:hugo": "hugo -d ../dist -s site -v",
"build:hugo:preview": "npm run build:hugo -- -D -F",
"build:preview": "npm run build:webpack && npm run build:hugo:preview",
"build:webpack": "cross-env NODE_ENV=production webpack --config webpack.prod.js",
"lint": "eslint src",
"preview": "run-p preview:**",
"preview:hugo": "npm run start:hugo -- -D -F",
"preview:webpack": "npm run start:webpack",
"start": "run-p start:**",
"start:hugo": "hugo -d ../dist -s site -vw",
"start:webpack": "webpack-dev-server --config webpack.dev.js --hot"
},
"prettier": {
"arrowParens": "always",
"bracketSpacing": true,
"printWidth": 120,
"semi": true,
"useTabs": false
},
"eslintConfig": {
"env": {
"browser": true,
"node": true
},
"parser": "@babel/eslint-parser",
"parserOptions": {
"ecmaVersion": 2021
},
"plugins": [
"json-format",
"prettier"
],
"extends": [
"eslint:recommended",
"google",
"prettier"
],
"rules": {
"prettier/prettier": "error"
}
},
"dependencies": {},
"devDependencies": {
"@babel/core": "^7.12.9",
"@babel/eslint-parser": "^7.12.1",
"@babel/eslint-plugin": "^7.12.1",
"@babel/plugin-proposal-object-rest-spread": "^7.12.1",
"@babel/plugin-syntax-object-rest-spread": "^7.8.3",
"@babel/preset-env": "^7.12.7",
"@babel/runtime": "^7.12.5",
"assets-webpack-plugin": "^6.0.4",
"babel-loader": "^8.2.2",
"clean-webpack-plugin": "^3.0.0",
"cross-env": "^7.0.2",
"css-loader": "^5.0.1",
"cssnano": "^4.1.10",
"eslint": "^7.14.0",
"eslint-config-google": "^0.14.0",
"eslint-config-prettier": "^6.15.0",
"eslint-plugin-import": "^2.22.1",
"eslint-plugin-json-format": "^2.0.1",
"eslint-plugin-prettier": "^3.1.4",
"exports-loader": "^1.1.1",
"hugo-bin": "^0.67.0",
"imports-loader": "^1.2.0",
"mini-css-extract-plugin": "^1.3.1",
"node-sass": "^5.0.0",
"npm-run-all": "^4.1.5",
"postcss": "^8.1.10",
"postcss-loader": "^4.1.0",
"postcss-preset-env": "^6.7.0",
"prettier": "^2.2.1",
"rimraf": "^3.0.2",
"sass-loader": "^10.1.0",
"style-loader": "^2.0.0",
"webpack": "^5.9.0",
"webpack-cli": "^4.2.0",
"webpack-dev-server": "^3.11.0",
"webpack-merge": "^5.4.0",
"whatwg-fetch": "^3.5.0"
},
"engines": {
"node": ">=14.15.1"
}
}