Skip to content

Commit

Permalink
fix(es6-modules): Add version to dist (#165)
Browse files Browse the repository at this point in the history
  • Loading branch information
Khaledgarbaya authored Jun 22, 2017
1 parent 2665b58 commit 087a64c
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
4 changes: 1 addition & 3 deletions .babelrc
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,8 @@
"webpack": {
"presets": [
["env", {
"debug": true,
"targets": {
"node": 4.7,
"node": "4.7",
"browsers": [
"last 3 versions",
"ie >= 11"
Expand All @@ -18,7 +17,6 @@
"test": {
"presets": [
["env", {
"debug": true,
"targets": {
"node": 4.7,
"browsers": [
Expand Down
2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -155,3 +155,5 @@ $RECYCLE.BIN/
*.patch

# End of https://www.gitignore.io/api/node,windows,osx,linux,vim
yarn.lock
package-lock.json
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
"build:ci": "npm run vendor:version && npm run build:standalone && npm run build:modules",
"build:standalone": "BABEL_ENV=webpack webpack && BABEL_ENV=webpack NODE_ENV=production webpack",
"build:standalone:log": "BABEL_ENV=webpack npm run build && BABEL_ENV=webpack NODE_ENV=production webpack --json --profile > webpack-build-log.json",
"build:modules": "BABEL_ENV=webpack babel lib -d dist/es6-modules",
"build:modules": "BABEL_ENV=webpack babel lib -d dist/es6-modules && cp ./version.js ./dist/version.js",
"docs:build": "jsdoc -c jsdoc.json",
"docs:dev": "npm run build && npm run docs:build",
"docs:watch": "nodemon --exec npm run docs:dev -w lib",
Expand Down

0 comments on commit 087a64c

Please sign in to comment.