Skip to content

Commit 0c4575b

Browse files
committed
configure coffeeify transform via package.json
1 parent 41fa7b2 commit 0c4575b

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

package.json

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,11 +16,14 @@
1616
"start": "testem",
1717
"test": "mocha -u mocha-gwt -R $npm_package_config_mocha_reporter --compilers coffee:coffee-script --recursive test/helper.coffee test/",
1818
"test:debug": "npm test -- --debug-brk",
19-
"build": "browserify lib/testdouble -t coffeeify --extension=.coffee -o $npm_package_config_build_file",
19+
"build": "browserify lib/testdouble --extension=.coffee -o $npm_package_config_build_file",
2020
"audit:disc": "npm run build -- --full-paths && discify $npm_package_config_build_file --open",
2121
"preversion": "git pull --rebase && npm test",
2222
"postversion": "git push && git push --tags && npm publish"
2323
},
24+
"browserify": {
25+
"transform": [ "coffeeify" ]
26+
},
2427
"dependencies": {
2528
"coffee-script": "^1.10.0",
2629
"lodash": "^3.10.1"

0 commit comments

Comments
 (0)