|
@ -6,6 +6,9 @@ |
|
|
"scripts": { |
|
|
"scripts": { |
|
|
"prebuild": "rm -rf dist", |
|
|
"prebuild": "rm -rf dist", |
|
|
"build": "babel -d dist src", |
|
|
"build": "babel -d dist src", |
|
|
|
|
|
"prebuild:map": "npm run prebuild", |
|
|
|
|
|
"build:map": "babel --source-maps=true -d dist src", |
|
|
|
|
|
"pretest": "npm run build:map", |
|
|
"lint": "xo", |
|
|
"lint": "xo", |
|
|
"test": "nyc ava", |
|
|
"test": "nyc ava", |
|
|
"coverage": "nyc report --reporter=text-lcov | coveralls", |
|
|
"coverage": "nyc report --reporter=text-lcov | coveralls", |
|
|