Skip to content

Commit 088c85b

Browse files
committed
set browser-focused entrypoint
1 parent 0c4575b commit 088c85b

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

package.json

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,8 @@
88
"email": "[email protected]",
99
"url": "http://testdouble.com"
1010
},
11+
"main": "index.js",
12+
"browser": "lib/testdouble.coffee",
1113
"config": {
1214
"build_file": "dist/testdouble.js",
1315
"mocha_reporter": "spec"
@@ -16,7 +18,7 @@
1618
"start": "testem",
1719
"test": "mocha -u mocha-gwt -R $npm_package_config_mocha_reporter --compilers coffee:coffee-script --recursive test/helper.coffee test/",
1820
"test:debug": "npm test -- --debug-brk",
19-
"build": "browserify lib/testdouble --extension=.coffee -o $npm_package_config_build_file",
21+
"build": "browserify . --extension=.coffee -o $npm_package_config_build_file",
2022
"audit:disc": "npm run build -- --full-paths && discify $npm_package_config_build_file --open",
2123
"preversion": "git pull --rebase && npm test",
2224
"postversion": "git push && git push --tags && npm publish"

0 commit comments

Comments
 (0)