Skip to content

Commit

Permalink
Merge pull request #30 from jaebradley/fix-issues
Browse files Browse the repository at this point in the history
Fix issues
  • Loading branch information
jaebradley authored Jul 23, 2018
2 parents f2d7179 + 2def17b commit 71448f0
Show file tree
Hide file tree
Showing 4 changed files with 13 additions and 11 deletions.
4 changes: 0 additions & 4 deletions src/templates/core/.babelrc
Original file line number Diff line number Diff line change
Expand Up @@ -6,10 +6,6 @@
"@babel/preset-env",
{ "modules": "umd" }
]
],
"plugins": [
"@babel/transform-runtime",
"@babel/transform-async-to-generator"
]
},
"production": {
Expand Down
16 changes: 10 additions & 6 deletions src/templates/core/package.template.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,9 @@
"name": "{{packageName}}",
"version": "{{packageVersion}}",
"description": "{{packageDescription}}",
"publishConfig": {
"access": "public"
},
"author": "{{packageAuthor}}",
"main": "build/index.cjs.js",
"module": "build/index.esm.js",
Expand All @@ -13,7 +16,7 @@
"build": "rollup -c",
"build:prod": "BABEL_ENV=production npm run build",
"codecov": "codecov",
"test": "BABEL_ENV=test jest src/ --coverage --no-cache",
"test": "BABEL_ENV=test jest src/ --no-cache",
"prepare": "npm run build:prod"
},
"repository": {
Expand All @@ -29,12 +32,12 @@
"readme": "https://github.com/{{gitHubUsername}}/{{packageName}}#readme",
"dependencies": {},
"devDependencies": {
"@babel/cli": "^7.0.0-beta.42",
"@babel/core": "^7.0.0-beta.42",
"@babel/preset-env": "^7.0.0-beta.42",
"@babel/cli": "^7.0.0-beta.54",
"@babel/core": "^7.0.0-beta.54",
"@babel/preset-env": "^7.0.0-beta.54",
"babel-core": "^7.0.0-bridge.0",
"babel-jest": "22.4.3",
"codecov": "^3.0.0",
"codecov": "^3.0.2",
"eslint": "^4.19.1",
"jest": "^22.4.3",
"rollup": "^0.58.1",
Expand All @@ -44,9 +47,10 @@
"rollup-plugin-filesize": "^1.5.0",
"rollup-plugin-local-resolve": "^1.0.7",
"rollup-plugin-node-resolve": "^3.3.0",
"rollup-plugin-uglify":"^3.0.0"
"rollup-plugin-terser":"^1.0.1"
},
"jest": {
"collectCoverage": true,
"testPathIgnorePatterns": [
"<rootDir>/build/",
"<rootDir>/node_modules/"
Expand Down
3 changes: 2 additions & 1 deletion src/templates/react/.eslintrc
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
{
"extends": "airbnb",
"env": {
"jest": true
"jest": true,
"browser": true
}
}
1 change: 1 addition & 0 deletions src/templates/react/.npmignore-template
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
src/setupTest.js

0 comments on commit 71448f0

Please sign in to comment.