File tree 7 files changed +35
-37
lines changed
refs-work-natively-with-DOM-elements
7 files changed +35
-37
lines changed Original file line number Diff line number Diff line change @@ -32,20 +32,16 @@ before_install:
32
32
script :
33
33
- export root=$(pwd)
34
34
35
- # eventbus
36
- - cd ${root}/refs-work-natively-with-DOM-elements
37
- - yarn -i
38
- - yarn prebuild
39
-
40
- # eventbus
41
- - cd ${root}/eventbus
42
- - yarn -i
43
- - yarn prebuild
44
-
45
- # vue-parcel
46
- - cd ${root}/vue-parcel
47
- - yarn -i
48
- - yarn build
35
+ - >
36
+ for path in \
37
+ refs-work-natively-with-DOM-elements \
38
+ eventbus \
39
+ vue-parcel \
40
+ ; do
41
+ cd ${root}/${path}
42
+ yarn -i
43
+ yarn predeploy
44
+ done
49
45
50
46
# others
51
47
# - >
@@ -64,14 +60,14 @@ script:
64
60
# 02-todo-list \
65
61
# 01-hello-world \
66
62
# 0-template; do
67
- #
63
+ #
68
64
# cd ${root}/${path};
69
- #
65
+ #
70
66
# yarn install;
71
67
# yarn predeploy;
72
68
# if [ -f npm-debug.log ]; then cat npm-debug.log; fi;
73
69
# yarn build --report
74
- #
70
+ #
75
71
# done;
76
72
77
73
cache :
Original file line number Diff line number Diff line change 5
5
``` bash
6
6
yarn -i
7
7
yarn start
8
- yarn build # gh-pages deployment
8
+ yarn deploy # gh-pages deployment
9
9
```
10
10
11
11
For a detailed explanation on how things work, check out the [ guide] ( http://vuejs-templates.github.io/webpack/ ) and [ docs for vue-loader] ( http://vuejs.github.io/vue-loader ) .
Original file line number Diff line number Diff line change 8
8
"scripts" : {
9
9
"clean" : " rimraf -rf ./dist" ,
10
10
"start" : " webpack-dev-server --inline --progress --config build/webpack.dev.conf.js" ,
11
- "prebuild" : " npm-run-all prebuild:*" ,
12
- "prebuild:clean" : " yarn clean" ,
13
- "prebuild:build" : " node build/build.js" ,
14
- "prebuild:fallback" : " ncp ./dist/index.html ./dist/404.html" ,
15
- "prebuild:nojekyll" : " touch ./dist/.nojekyll" ,
16
- "build" : " gh-pages -d ./dist -b gh-pages -m \" Parcel Github Pages $(date +%Y-%m-%d) deployment\" "
11
+ "build" : " node build/build.js" ,
12
+ "predeploy" : " npm-run-all predeploy:*" ,
13
+ "predeploy:clean" : " yarn clean" ,
14
+ "predeploy:build" : " yarn build" ,
15
+ "predeploy:fallback" : " ncp ./dist/index.html ./dist/404.html" ,
16
+ "predeploy:nojekyll" : " touch ./dist/.nojekyll" ,
17
+ "deploy" : " gh-pages -d ./dist -b gh-pages -m \" Parcel Github Pages $(date +%Y-%m-%d) deployment\" "
17
18
},
18
19
"dependencies" : {
19
20
"hammerjs" : " 2.0.8" ,
Original file line number Diff line number Diff line change 5
5
``` bash
6
6
yarn -i
7
7
yarn start
8
- yarn build # gh-pages deployment
8
+ yarn deploy # gh-pages deployment
9
9
```
10
10
11
11
For a detailed explanation on how things work, check out the [ guide] ( http://vuejs-templates.github.io/webpack/ ) and [ docs for vue-loader] ( http://vuejs.github.io/vue-loader ) .
Original file line number Diff line number Diff line change 8
8
"scripts" : {
9
9
"clean" : " rimraf -rf ./dist" ,
10
10
"start" : " webpack-dev-server --inline --progress --config build/webpack.dev.conf.js" ,
11
- "prebuild" : " npm-run-all prebuild:*" ,
12
- "prebuild:clean" : " yarn clean" ,
13
- "prebuild:build" : " node build/build.js" ,
14
- "prebuild:fallback" : " ncp ./dist/index.html ./dist/404.html" ,
15
- "prebuild:nojekyll" : " touch ./dist/.nojekyll" ,
16
- "build" : " gh-pages -d ./dist -b gh-pages -m \" Parcel Github Pages $(date +%Y-%m-%d) deployment\" "
11
+ "build" : " node build/build.js" ,
12
+ "predeploy" : " npm-run-all predeploy:*" ,
13
+ "predeploy:clean" : " yarn clean" ,
14
+ "predeploy:build" : " yarn build" ,
15
+ "predeploy:fallback" : " ncp ./dist/index.html ./dist/404.html" ,
16
+ "predeploy:nojekyll" : " touch ./dist/.nojekyll" ,
17
+ "deploy" : " gh-pages -d ./dist -b gh-pages -m \" Parcel Github Pages $(date +%Y-%m-%d) deployment\" "
17
18
},
18
19
"dependencies" : {
19
20
"hammerjs" : " 2.0.8" ,
Original file line number Diff line number Diff line change 18
18
"start" : " parcel ./app/index.html" ,
19
19
"prebuild" : " yarn -i || npm i --no-optional" ,
20
20
"build" : " parcel build ./app/index.html" ,
21
- "preghpages " : " npm-run-all preghpages :*" ,
22
- "preghpages :clean" : " rimraf -rf ./dist" ,
23
- "preghpages :build" : " parcel build ./app/index.html --no-cache --public-url='/vue-examples/'" ,
24
- "preghpages :fallback" : " ncp ./dist/index.html ./dist/404.html" ,
25
- "preghpages :nojekyll" : " touch ./dist/.nojekyll" ,
26
- "ghpages " : " gh-pages -d ./dist -b gh-pages -m \" Parcel Github Pages $(date +%Y-%m-%d) deployment\" "
21
+ "prepredeploy " : " npm-run-all prepredeploy :*" ,
22
+ "prepredeploy :clean" : " rimraf -rf ./dist" ,
23
+ "prepredeploy :build" : " parcel build ./app/index.html --no-cache --public-url='/vue-examples/'" ,
24
+ "prepredeploy :fallback" : " ncp ./dist/index.html ./dist/404.html" ,
25
+ "prepredeploy :nojekyll" : " touch ./dist/.nojekyll" ,
26
+ "predeploy " : " gh-pages -d ./dist -b gh-pages -m \" Parcel Github Pages $(date +%Y-%m-%d) deployment\" "
27
27
},
28
28
"babel" : {
29
29
"presets" : [
You can’t perform that action at this time.
0 commit comments