File tree Expand file tree Collapse file tree 2 files changed +5
-4
lines changed Expand file tree Collapse file tree 2 files changed +5
-4
lines changed Original file line number Diff line number Diff line change 11'use strict' ;
22
33module . exports = {
4- ignore : [ '**/__tests__/**' ] ,
54 presets : [ [ '@babel/preset-env' , { targets : { node : 6 } } ] ] ,
65} ;
Original file line number Diff line number Diff line change 2626 "eslint" : " >=5"
2727 },
2828 "scripts" : {
29- "prepare" : " yarn build" ,
29+ "prepare" : " yarn build && yarn postbuild " ,
3030 "lint" : " eslint . --ignore-pattern '!.eslintrc.js'" ,
3131 "prettylint" : " prettylint docs/**/*.md README.md package.json" ,
3232 "prepublishOnly" : " yarn build" ,
3333 "test" : " jest" ,
34- "build" : " babel src --out-dir lib"
34+ "build" : " babel src --out-dir lib" ,
35+ "postbuild" : " rimraf lib/**/__tests__/**"
3536 },
3637 "devDependencies" : {
3738 "@babel/cli" : " ^7.4.4" ,
5152 "jest-runner-eslint" : " ^0.7.1" ,
5253 "lint-staged" : " ^8.0.4" ,
5354 "prettier" : " ^1.10.2" ,
54- "prettylint" : " ^1.0.0"
55+ "prettylint" : " ^1.0.0" ,
56+ "rimraf" : " ^2.6.3"
5557 },
5658 "prettier" : {
5759 "proseWrap" : " always" ,
You can’t perform that action at this time.
0 commit comments