Skip to content

Commit

Permalink
feat(package.json): remove babel-multi-env
Browse files Browse the repository at this point in the history
  • Loading branch information
tomchentw committed Jan 2, 2019
1 parent de0e13d commit f427662
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 734 deletions.
22 changes: 2 additions & 20 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -24,45 +24,27 @@
"precommit": "lint-staged",
"test": "jest --runInBand",
"prebuild:lib": "rimraf lib",
"build:lib":
"babel-multi-env --multi-versions 8.0.0 6.0.0 --out-dir lib --given 'src/**/*.js'",
"build:lib": "cp 'src/**/*.js' lib/",
"precommit:lib": "npm run build:lib",
"commit:lib":
"git add -A && git commit -m 'chore(lib): compile from src with `babel-multi-env`'",
"commit:lib": "git add -A && git commit -m 'chore(lib): copy from src'",
"prerelease": "npm run commit:lib",
"release": "standard-version"
},
"lint-staged": {
"*.{png,jpeg,jpg,gif,svg}": ["imagemin-lint-staged", "git add"],
"*.{js,jsx,json,css}": ["prettier --write", "git add"]
},
"babel": {
"plugins": ["transform-object-rest-spread"],
"env": {
"test": {
"presets": [["env"]]
}
}
},
"jest": {
"testPathIgnorePatterns": ["\\d+\\.\\d+\\.\\d+"]
},
"dependencies": {
"babel-runtime": "^7.0.0-beta.3",
"imagemin-gifsicle": "^6.0.1",
"imagemin-jpegtran": "^6.0.0",
"imagemin-optipng": "^6.0.0",
"imagemin-svgo": "^7.0.0",
"semver": "^5.4.1",
"util.promisify": "^1.0.0"
},
"devDependencies": {
"@babel/core": "^7.0.0-0",
"babel-core": "^7.0.0-beta.3",
"babel-multi-env": "^0.6.1",
"babel-plugin-transform-object-rest-spread": "^7.0.0-beta.3",
"babel-plugin-transform-runtime": "^7.0.0-beta.3",
"babel-preset-env": "^7.0.0-beta.3",
"husky": "^0.14.3",
"jest": "^21.3.0-beta.2",
"lint-staged": "^5.0.0",
Expand Down
Loading

0 comments on commit f427662

Please sign in to comment.