Skip to content

Commit

Permalink
Updated Babel preset from 'es2015' to 'env', script now prevents bump…
Browse files Browse the repository at this point in the history
…er and overlay from recieving keyboard focus when modal is hidden.
  • Loading branch information
svinkle committed Feb 19, 2018
1 parent 14c10cc commit a5892b3
Show file tree
Hide file tree
Showing 10 changed files with 466 additions and 414 deletions.
2 changes: 1 addition & 1 deletion .editorconfig
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ root = true
[*]
charset = utf-8
indent_style = space
indent_size = 4
indent_size = 2
insert_final_newline = true
trim_trailing_whitespace = true

Expand Down
2 changes: 1 addition & 1 deletion .eslintrc
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
"block-spacing": ["error"],
"comma-dangle": ["error", "never"],
"comma-spacing": ["error", { "before": false, "after": true }],
"indent": ["error", 4], // modify this depending on the project
"indent": ["error", 2], // modify this depending on the project
"key-spacing": ["error", { "beforeColon": false }],
"keyword-spacing": ["error", { "before": true, "after": true }],
"linebreak-style": ["error", "unix"],
Expand Down
2 changes: 1 addition & 1 deletion brochure/js/launchy.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion dist/launchy.js

Large diffs are not rendered by default.

19 changes: 19 additions & 0 deletions dist/npm/index.js

Large diffs are not rendered by default.

19 changes: 0 additions & 19 deletions dist/npm/launchy.js

This file was deleted.

3 changes: 2 additions & 1 deletion dist/npm/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
"webpack-watch": "webpack -d --watch",
"build": "webpack -p && npm run autoprefixer && npm run copy-to-npm",
"copy-to-brochure": "cp ./dist/launchy.js ./brochure/js/launchy.js",
"copy-to-npm": "cp ./dist/launchy.js ./dist/npm && cp ./.gitignore ./dist/npm && cp ./LICENSE.md ./dist/npm && cp ./package.json ./dist/npm && cp ./README.md ./dist/npm",
"copy-to-npm": "cp ./dist/launchy.js ./dist/npm/index.js && cp ./.gitignore ./dist/npm && cp ./LICENSE.md ./dist/npm && cp ./package.json ./dist/npm && cp ./README.md ./dist/npm",
"reload": "browser-sync reload",
"release": "bump --version && bump --prompt --tag --grep ./src/launchy.js && cp ./package.json ./dist/npm && cd ./dist/npm && npm publish",
"precommit": "npm test && npm run build",
Expand Down Expand Up @@ -39,6 +39,7 @@
"autoprefixer": "^7.1.2",
"babel-core": "^6.25.0",
"babel-loader": "^7.1.1",
"babel-preset-env": "^1.6.1",
"babel-preset-es2015": "^6.24.1",
"babel-runtime": "^6.25.0",
"browser-sync": "^2.18.13",
Expand Down
3 changes: 2 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
"webpack-watch": "webpack -d --watch",
"build": "webpack -p && npm run autoprefixer && npm run copy-to-npm",
"copy-to-brochure": "cp ./dist/launchy.js ./brochure/js/launchy.js",
"copy-to-npm": "cp ./dist/launchy.js ./dist/npm && cp ./.gitignore ./dist/npm && cp ./LICENSE.md ./dist/npm && cp ./package.json ./dist/npm && cp ./README.md ./dist/npm",
"copy-to-npm": "cp ./dist/launchy.js ./dist/npm/index.js && cp ./.gitignore ./dist/npm && cp ./LICENSE.md ./dist/npm && cp ./package.json ./dist/npm && cp ./README.md ./dist/npm",
"reload": "browser-sync reload",
"release": "bump --version && bump --prompt --tag --grep ./src/launchy.js && cp ./package.json ./dist/npm && cd ./dist/npm && npm publish",
"precommit": "npm test && npm run build",
Expand Down Expand Up @@ -39,6 +39,7 @@
"autoprefixer": "^7.1.2",
"babel-core": "^6.25.0",
"babel-loader": "^7.1.1",
"babel-preset-env": "^1.6.1",
"babel-preset-es2015": "^6.24.1",
"babel-runtime": "^6.25.0",
"browser-sync": "^2.18.13",
Expand Down
Loading

0 comments on commit a5892b3

Please sign in to comment.