Skip to content
This repository was archived by the owner on Oct 29, 2019. It is now read-only.

Commit bd206f8

Browse files
author
Tyll Weiß
committed
[BUGFIX] Add the missing UMD-Wrapper for the distributed file
1 parent aa6373d commit bd206f8

3 files changed

Lines changed: 6 additions & 2 deletions

File tree

.gitignore

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
# General ignores.
22
node_modules/
33
coverage/
4-
dist/
4+
dist/**/*.js

dist/.gitignore

Whitespace-only changes.

package.json

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
"main": "dist/assembler.js",
55
"scripts": {
66
"postinstall": "npm run build",
7-
"build": "babel src --out-dir dist",
7+
"build": "browserify src/assembler.js -o dist/assembler.js --standalone reduct.assembler -t [ babelify --stage 0 ]",
88
"lint": "xo src/**/*.js",
99
"mocha": "export TEST=true && find ./src -name '*.spec.js' | xargs istanbul cover -x *.spec.js _mocha -- -R spec --compilers js:babel/register",
1010
"test": "npm run lint && npm run mocha && npm run build",
@@ -71,5 +71,9 @@
7171
"release": {
7272
"analyzeCommits": "@inkdpixels/commit-analyzer",
7373
"generateNotes": "@inkdpixels/release-notes-generator"
74+
},
75+
"dependencies": {
76+
"babelify": "^6.4.0",
77+
"browserify": "^12.0.1"
7478
}
7579
}

0 commit comments

Comments
 (0)