Skip to content

Commit

Permalink
Added '.js' extension to the <main> attribute in package.json, for co…
Browse files Browse the repository at this point in the history
…mpatibility with various loaders or bundlers (webpack, systemjs, browserify,...) or any other independent lib which may use package.json.
  • Loading branch information
vrichard committed Sep 4, 2017
1 parent ab2fae9 commit f64e76c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@
"standard": "^10.0.2",
"standard-markdown": "^4.0.1"
},
"main": "./lib/index",
"main": "./lib/index.js",
"scripts": {
"coverage": "istanbul cover -i 'lib/**' -x '**/__tests__/**' test.js",
"coveralls": "coveralls < coverage/lcov.info",
Expand Down

0 comments on commit f64e76c

Please sign in to comment.