File tree 5 files changed +76
-5
lines changed
5 files changed +76
-5
lines changed Original file line number Diff line number Diff line change 46
46
include :
47
47
48
48
- stage : test
49
- node_js : lts/*
49
+ name : ecma-script-parcel
50
+ before_script :
51
+ - cd ${root}/ecma-script-parcel
52
+ - npm i
53
+ - npm run start &
54
+ - sleep 0.5s
55
+ - npm run logs &
56
+ - wait_for 1234
57
+ script :
58
+ - http :1234
59
+ after_script :
60
+ - npm run stop
61
+
62
+ - stage : test
50
63
name : ecma-script-5
51
64
before_script :
52
65
- cd ${root}/ecma-script-5
@@ -68,23 +81,20 @@ jobs:
68
81
# - npm run predeploy
69
82
70
83
- stage : test
71
- node_js : lts/*
72
84
name : refs-work-natively-with-DOM-elements
73
85
script :
74
86
- cd ${root}/refs-work-natively-with-DOM-elements
75
87
- npm i
76
88
- npm run predeploy
77
89
78
90
- stage : test
79
- node_js : lts/*
80
91
name : eventbus
81
92
script :
82
93
- cd ${root}/eventbus
83
94
- npm i
84
95
- npm run predeploy
85
96
86
97
- stage : test
87
- node_js : lts/*
88
98
name : responsive-web-design
89
99
script :
90
100
- cd ${root}/responsive-web-design
94
104
- npm run build -- --report
95
105
96
106
- stage : test
97
- node_js : lts/*
98
107
name : nuxt-server-side-rendering
99
108
script :
100
109
- cd ${root}/nuxt-server-side-rendering
Original file line number Diff line number Diff line change
1
+ {
2
+ "name" : " ecma-script-parcel" ,
3
+ "version" : " 1.0.0" ,
4
+ "description" : " " ,
5
+ "main" : " index.html" ,
6
+ "scripts" : {
7
+ "start" : " forever ./node_modules/.bin/parcel src/index.html" ,
8
+ "logs" : " forever logs -f 0" ,
9
+ "stop" : " forever stopall --killTree"
10
+ },
11
+ "keywords" : [],
12
+ "author" : " " ,
13
+ "license" : " ISC" ,
14
+ "devDependencies" : {
15
+ "@types/vue" : " 2.0.0" ,
16
+ "forever" : " 1.0.0" ,
17
+ "parcel-bundler" : " 1.12.4"
18
+ }
19
+ }
Original file line number Diff line number Diff line change
1
+ <!DOCTYPE html>
2
+ < html lang ="en ">
3
+ < head >
4
+ < meta charset ="UTF-8 ">
5
+ < title > Vue Parcel</ title >
6
+ < meta name ="viewport " content ="width=device-width, initial-scale=1 ">
7
+ < link rel ="
stylesheet "
href ="
https://cdn.jsdelivr.net/npm/[email protected] /css/bulma.min.css "
>
8
+ < script defer src ="https://use.fontawesome.com/releases/v5.3.1/js/all.js "> </ script >
9
+ < link rel ="stylesheet " href ="./style.css ">
10
+ </ head >
11
+ < body >
12
+ < section class ="section " id ="app " @click ="increment ">
13
+ < div class ="container ">
14
+ < h1 class ="title ">
15
+ Hello World
16
+ </ h1 >
17
+ < p class ="subtitle ">
18
+ Counter < strong > {{ counter }}</ strong >
19
+ </ p >
20
+ </ div >
21
+ </ section >
22
+ < script src ="https://cdn.jsdelivr.net/npm/vue/dist/vue.min.js "> </ script >
23
+ < script src ="https://cdn.jsdelivr.net/npm/es6-promise@4/dist/es6-promise.auto.js "> </ script >
24
+ < script src ="https://cdn.jsdelivr.net/npm/vuex/dist/vuex.min.js "> </ script >
25
+ < script src ="./script.js "> </ script >
26
+ </ body >
27
+ </ html >
Original file line number Diff line number Diff line change
1
+
2
+ ( function main ( ) {
3
+ new Vue ( {
4
+ el : '#app' ,
5
+ data : function _data ( ) {
6
+ return {
7
+ counter : 0 ,
8
+ } ;
9
+ } ,
10
+ methods : {
11
+ increment : function _increment ( ) {
12
+ this . counter ++ ;
13
+ } ,
14
+ } ,
15
+ } ) ;
16
+ } ) ( ) ;
You can’t perform that action at this time.
0 commit comments