Skip to content

Commit 175cb9f

Browse files
➕dependency: push-dir for deployment
1 parent 68bf477 commit 175cb9f

File tree

2 files changed

+37
-7
lines changed

2 files changed

+37
-7
lines changed

package-lock.json

Lines changed: 9 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 28 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,8 @@
1010
"start": "nuxt start",
1111
"generate": "nuxt generate",
1212
"lint": "eslint --ext .js,.vue --ignore-path .gitignore .",
13-
"test": "jest"
13+
"test": "jest",
14+
"deploy": "push-dir --dir=dist --branch=gh-pages --cleanup"
1415
},
1516
"dependencies": {
1617
"nuxt": "^2.0.0",
@@ -23,17 +24,37 @@
2324
"devDependencies": {
2425
"@nuxtjs/eslint-config": "^2.0.0",
2526
"@nuxtjs/eslint-module": "^1.0.0",
27+
"@nuxtjs/stylelint-module": "^3.1.0",
28+
"@vue/test-utils": "^1.0.0-beta.27",
2629
"babel-eslint": "^10.0.1",
30+
"babel-jest": "^24.1.0",
2731
"eslint": "^6.1.0",
28-
"eslint-plugin-nuxt": ">=0.4.2",
2932
"eslint-config-prettier": "^6.10.0",
33+
"eslint-plugin-nuxt": ">=0.4.2",
3034
"eslint-plugin-prettier": "^3.1.2",
35+
"jest": "^24.1.0",
3136
"prettier": "^1.19.1",
32-
"@nuxtjs/stylelint-module": "^3.1.0",
37+
"push-dir": "^0.4.1",
3338
"stylelint": "^10.1.0",
34-
"@vue/test-utils": "^1.0.0-beta.27",
35-
"babel-jest": "^24.1.0",
36-
"jest": "^24.1.0",
3739
"vue-jest": "^4.0.0-0"
38-
}
40+
},
41+
"main": ".eslintrc.js",
42+
"directories": {
43+
"test": "test"
44+
},
45+
"repository": {
46+
"type": "git",
47+
"url": "git+https://github.com/Opensource-254/Opensource-254.github.io.git"
48+
},
49+
"keywords": [
50+
"website",
51+
"kenya",
52+
"opensource",
53+
"nuxt"
54+
],
55+
"license": "GPL-3.0",
56+
"bugs": {
57+
"url": "https://github.com/Opensource-254/Opensource-254.github.io/issues"
58+
},
59+
"homepage": "https://github.com/Opensource-254/Opensource-254.github.io#readme"
3960
}

0 commit comments

Comments
 (0)