-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathpackage.json
28 lines (28 loc) · 1020 Bytes
/
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
{
"name": "webpack-template",
"version": "1.0.0",
"description": "Webpack template to easily deploy on GitHub Pages",
"main": "index.js",
"repository": "https://github.com/grmnlrt/webpack-template",
"author": "grmnlrt",
"license": "MIT",
"devDependencies": {
"eslint": "^5.9.0",
"eslint-config-airbnb-base": "^13.1.0",
"eslint-plugin-import": "^2.14.0",
"node-sass": "^4.13.1",
"sass-loader": "^8.0.0",
"webpack": "^4.40.2",
"webpack-cli": "^3.1.2",
"webpack-dev-server": "^3.1.10"
},
"dependencies": {
"css-loader": "^3.2.0",
"style-loader": "^1.0.0"
},
"scripts": {
"create-gh-pages": "git checkout -b gh-pages; rm .gitignore; touch .gitignore; echo '.DS_Store\npackage-lock.json\nyarn-error.log' >> .gitignore; git add .; git commit -m 'create gh-pages'",
"deploy": "git checkout gh-pages; git merge master; webpack; git add .; git commit -m 'new deploy'; git push origin gh-pages; git checkout master",
"server": "webpack-dev-server"
}
}