Skip to content

Commit 4b294ae

Browse files
attempt to fix jspm
1 parent 7485841 commit 4b294ae

File tree

2 files changed

+7
-1
lines changed

2 files changed

+7
-1
lines changed

config.js

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,9 @@
11
System.config({
2+
packages: {
3+
'lib/**': {
4+
main: 'index.js',
5+
}
6+
},
27
baseURL: "/",
38
defaultJSExtensions: true,
49
transpiler: "babel",

package.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,8 @@
1919
"url": "https://github.com/aureooms/es-red-black-tree/issues"
2020
},
2121
"scripts": {
22-
"preversion": "babel src -d lib",
22+
"build": "babel src -d lib",
23+
"prepublish": "npm run build",
2324
"test": "ava ./test/src --concurrency 4",
2425
"cover": "nyc --reporter=lcov npm test"
2526
},

0 commit comments

Comments
 (0)