mirror of
https://github.com/dilllxd/gitfolio.git
synced 2024-08-14 22:28:09 +00:00
Move build command from Travis config to npm test
This commit is contained in:
parent
ef563330a4
commit
0e9a022c2a
2 changed files with 97 additions and 48 deletions
|
@ -12,7 +12,7 @@ before_install:
|
||||||
before_script:
|
before_script:
|
||||||
- npm install -g
|
- npm install -g
|
||||||
script:
|
script:
|
||||||
- gitfolio build k4ustu3h --fork --theme dark --sort updated --twitter k4ustu3h_ --dribbble k4ustu3h --email k4ustu3h@gmail.com --codepen k4ustu3h --dev k4ustu3h --instagram k4ustu3h --telegram k4ustu3h --reddit kaustubhladiya
|
- npm run test
|
||||||
after_success:
|
after_success:
|
||||||
- lhci autorun --upload.target=temporary-public-storage --staticDistDir=/home/travis/build/k4ustu3h/gitfolio/dist
|
- lhci autorun --upload.target=temporary-public-storage --staticDistDir=/home/travis/build/k4ustu3h/gitfolio/dist
|
||||||
deploy:
|
deploy:
|
||||||
|
|
143
package.json
143
package.json
|
@ -1,49 +1,98 @@
|
||||||
{
|
{
|
||||||
"name": "gitfolio",
|
|
||||||
"version": "0.1.5",
|
"name": "gitfolio",
|
||||||
"description": "a portfolio website for everyone to showcase their work",
|
|
||||||
"main": "build.js",
|
"version": "0.1.5",
|
||||||
"bin": "bin/gitfolio.js",
|
|
||||||
"scripts": {
|
"description": "a portfolio website for everyone to showcase their work",
|
||||||
"cli": "OUT_DIR='./dist' node bin/gitfolio.js",
|
|
||||||
"clean": "rm -rf ./dist/*",
|
"main": "build.js",
|
||||||
"prettier": "prettier --write \"./**/*.{js,jsx,json,html,css,md}\"",
|
|
||||||
"test": "echo \"Error: no test specified\" && exit 1"
|
"bin": "bin/gitfolio.js",
|
||||||
},
|
|
||||||
"author": {
|
"scripts": {
|
||||||
"name": "@imfunniee and community",
|
|
||||||
"email": "imfunny@wybemf.com",
|
"cli": "OUT_DIR='./dist' node bin/gitfolio.js",
|
||||||
"url": "https://imfunniee.github.io"
|
|
||||||
},
|
"clean": "rm -rf ./dist/*",
|
||||||
"bugs": "https://github.com/imfunniee/gitfolio/issues",
|
|
||||||
"homepage": "https://github.com/imfunniee/gitfolio",
|
"prettier": "prettier --write \"./**/*.{js,jsx,json,html,css,md}\"",
|
||||||
"keywords": [
|
|
||||||
"personal-website",
|
"test": "OUT_DIR='./dist' node bin/gitfolio.js build k4ustu3h --fork --theme dark --sort updated --twitter k4ustu3h_ --dribbble k4ustu3h --email k4ustu3h@gmail.com --codepen k4ustu3h --dev k4ustu3h --instagram k4ustu3h --telegram k4ustu3h --reddit kaustubhladiya"
|
||||||
"github",
|
|
||||||
"portfolio",
|
},
|
||||||
"portfolio website",
|
|
||||||
"gitfolio",
|
"author": {
|
||||||
"git"
|
|
||||||
],
|
"name": "@imfunniee and community",
|
||||||
"repository": {
|
|
||||||
"type": "git",
|
"email": "imfunny@wybemf.com",
|
||||||
"url": "https://github.com/imfunniee/gitfolio"
|
|
||||||
},
|
"url": "https://imfunniee.github.io"
|
||||||
"license": "GPL-3.0",
|
|
||||||
"dependencies": {
|
},
|
||||||
"bluebird": "^3.7.2",
|
|
||||||
"body-parser": "^1.19.0",
|
"bugs": "https://github.com/imfunniee/gitfolio/issues",
|
||||||
"commander": "4.0.1",
|
|
||||||
"ejs": "3.0.1",
|
"homepage": "https://github.com/imfunniee/gitfolio",
|
||||||
"express": "^4.17.1",
|
|
||||||
"github-emoji": "^1.1.1",
|
"keywords": [
|
||||||
"got": "10.0.4",
|
|
||||||
"handlebars": "^4.5.3",
|
"personal-website",
|
||||||
"jsdom": "^15.2.1",
|
|
||||||
"ncp": "^2.0.0"
|
"github",
|
||||||
},
|
|
||||||
"devDependencies": {
|
"portfolio",
|
||||||
"eslint": "^6.7.2",
|
|
||||||
"prettier": "1.19.1"
|
"portfolio website",
|
||||||
}
|
|
||||||
|
"gitfolio",
|
||||||
|
|
||||||
|
"git"
|
||||||
|
|
||||||
|
],
|
||||||
|
|
||||||
|
"repository": {
|
||||||
|
|
||||||
|
"type": "git",
|
||||||
|
|
||||||
|
"url": "https://github.com/imfunniee/gitfolio"
|
||||||
|
|
||||||
|
},
|
||||||
|
|
||||||
|
"license": "GPL-3.0",
|
||||||
|
|
||||||
|
"dependencies": {
|
||||||
|
|
||||||
|
"bluebird": "^3.7.2",
|
||||||
|
|
||||||
|
"body-parser": "^1.19.0",
|
||||||
|
|
||||||
|
"commander": "4.0.1",
|
||||||
|
|
||||||
|
"ejs": "3.0.1",
|
||||||
|
|
||||||
|
"express": "^4.17.1",
|
||||||
|
|
||||||
|
"github-emoji": "^1.1.1",
|
||||||
|
|
||||||
|
"got": "10.0.4",
|
||||||
|
|
||||||
|
"handlebars": "^4.5.3",
|
||||||
|
|
||||||
|
"jsdom": "^15.2.1",
|
||||||
|
|
||||||
|
"ncp": "^2.0.0"
|
||||||
|
|
||||||
|
},
|
||||||
|
|
||||||
|
"devDependencies": {
|
||||||
|
|
||||||
|
"eslint": "^6.7.2",
|
||||||
|
|
||||||
|
"prettier": "1.19.1"
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue