Skip to content

Commit

Permalink
Build browser files and package them.
Browse files Browse the repository at this point in the history
  • Loading branch information
nicolasnoble committed Apr 16, 2018
1 parent f0488e1 commit e732f4d
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
1 change: 0 additions & 1 deletion .npmignore
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@ npm-debug.log
.vimrc.local
t.js
esprima.js
escodegen.browser.js
.travis.yml
.npmignore
/tmp/
Expand Down
5 changes: 4 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,8 @@
"README.md",
"bin",
"escodegen.js",
"escodegen.browser.js",
"escodegen.browser.min.js",
"package.json"
],
"version": "1.9.1",
Expand Down Expand Up @@ -56,6 +58,7 @@
"lint": "gulp lint",
"release": "node tools/release.js",
"build-min": "./node_modules/.bin/cjsify -ma path: tools/entry-point.js > escodegen.browser.min.js",
"build": "./node_modules/.bin/cjsify -a path: tools/entry-point.js > escodegen.browser.js"
"build": "./node_modules/.bin/cjsify -a path: tools/entry-point.js > escodegen.browser.js",
"prepack": "npm run build && npm run build-min"
}
}

0 comments on commit e732f4d

Please sign in to comment.