Merge pull request #803 from lipis/patch-1

Simplify package.json
This commit is contained in:
chrisbianca 2018-02-01 11:44:24 +00:00 committed by GitHub
commit c28cf508de
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 6 deletions

View File

@ -11,7 +11,7 @@
"build-lib": "BABEL_ENV=publish babel lib -d dist --ignore __tests__ --copy-files",
"clean": "rimraf dist/",
"flow": "flow",
"format": "eslint --fix ./lib ./tests/src ./tests/lib",
"format": "npm run lint -- --fix",
"lint": "eslint ./lib ./tests/src ./tests/lib",
"precommit": "lint-staged",
"prepublish": "npm run clean && npm run build",
@ -131,11 +131,7 @@
"eslint --fix",
"git add"
],
"tests/src/**/*.js": [
"eslint --fix",
"git add"
],
"tests/lib/**/*.js": [
"tests/{src|lib}/**/*.js": [
"eslint --fix",
"git add"
]