File tree 1 file changed +11
-0
lines changed
1 file changed +11
-0
lines changed Original file line number Diff line number Diff line change 8
8
9
9
"url" : " http://testdouble.com"
10
10
},
11
+ "main" : " index.js" ,
12
+ "browser" : " lib/testdouble.coffee" ,
11
13
"config" : {
14
+ "build_file" : " dist/testdouble.js" ,
12
15
"mocha_reporter" : " spec"
13
16
},
14
17
"scripts" : {
15
18
"start" : " testem" ,
16
19
"test" : " mocha -u mocha-gwt -R $npm_package_config_mocha_reporter --compilers coffee:coffee-script --recursive test/helper.coffee test/" ,
17
20
"test:debug" : " npm test -- --debug-brk" ,
21
+ "build" : " browserify . --extension=.coffee -o $npm_package_config_build_file" ,
22
+ "audit:disc" : " npm run build -- --full-paths && discify $npm_package_config_build_file --open" ,
18
23
"preversion" : " git pull --rebase && npm test" ,
19
24
"postversion" : " git push && git push --tags && npm publish"
20
25
},
26
+ "browserify" : {
27
+ "transform" : [ " coffeeify" ]
28
+ },
21
29
"dependencies" : {
22
30
"coffee-script" : " ^1.10.0" ,
23
31
"lodash" : " ^3.10.1"
24
32
},
25
33
"devDependencies" : {
34
+ "browserify" : " ^11.0.1" ,
26
35
"chai" : " ^3.2.0" ,
36
+ "coffeeify" : " ^1.1.0" ,
37
+ "disc" : " ^1.3.2" ,
27
38
"mocha" : " ^2.3.1" ,
28
39
"mocha-gwt" : " ^0.2.0" ,
29
40
"testem" : " ^0.9.4"
You can’t perform that action at this time.
0 commit comments