File tree 5 files changed +21
-2
lines changed
5 files changed +21
-2
lines changed Original file line number Diff line number Diff line change
1
+ /*! <%= pkg .name %> | <%= pkg .version %> | <%= pkg .homepage %> */
Original file line number Diff line number Diff line change @@ -16,3 +16,6 @@ indent_style = tab
16
16
17
17
[* .md ]
18
18
trim_trailing_whitespace = false
19
+
20
+ [.banner.ejs ]
21
+ insert_final_newline = false
Original file line number Diff line number Diff line change
1
+ {
2
+ "scripts" : {
3
+ "build" : " make mocha.js" ,
4
+ "add-build" : " git add mocha.js"
5
+ }
6
+ }
7
+
Original file line number Diff line number Diff line change 1
1
BROWSERIFY := "node_modules/.bin/browserify"
2
2
ESLINT := "node_modules/.bin/eslint"
3
3
KARMA := "node_modules/.bin/karma"
4
+ BANNERIZE := "node_modules/.bin/bannerize"
4
5
5
6
REPORTER ?= spec
6
7
TM_BUNDLE = JavaScript\ mocha.tmbundle
@@ -17,6 +18,7 @@ mocha.js: $(SRC) $(SUPPORT)
17
18
--ignore ' glob' \
18
19
--ignore ' path' \
19
20
--ignore ' supports-color' > $@
21
+ @$(BANNERIZE ) -b .banner.ejs mocha.js
20
22
21
23
clean :
22
24
@printf " ==> [Clean]\n"
Original file line number Diff line number Diff line change 298
298
"npm" : " >= 1.4.x"
299
299
},
300
300
"scripts" : {
301
- "test" : " make test"
301
+ "test" : " make test" ,
302
+ "start" : " package-scripts --config .package-scripts.json" ,
303
+ "preversion" : " npm test" ,
304
+ "version" : " npm start build,add-build"
302
305
},
303
306
"dependencies" : {
304
307
"commander" : " 2.9.0" ,
314
317
"to-iso-string" : " 0.0.2"
315
318
},
316
319
"devDependencies" : {
320
+ "bannerize" : " ^1.0.2" ,
317
321
"browser-stdout" : " ^1.2.0" ,
318
322
"browserify" : " ^13.0.0" ,
319
323
"coffee-script" : " ^1.10.0" ,
326
330
"karma-phantomjs-launcher" : " ^0.2.3" ,
327
331
"karma-sauce-launcher" : " ^1.0.0" ,
328
332
"karma-spec-reporter" : " 0.0.26" ,
333
+ "p-s" : " ^1.0.2" ,
329
334
"phantomjs" : " 1.9.8" ,
330
335
"rimraf" : " ^2.5.2" ,
331
336
"should" : " ^9.0.2" ,
351
356
"glob" : false ,
352
357
"path" : false ,
353
358
"supports-color" : false
354
- }
359
+ },
360
+ "homepage" : " https://mochajs.org"
355
361
}
You can’t perform that action at this time.
0 commit comments