diff --git a/package.json b/package.json index 4a7de6d..b520231 100644 --- a/package.json +++ b/package.json @@ -9,8 +9,11 @@ "scripts": { "prebuild": "rm -rf dist", "build": "babel -d dist src", + "prebuild:map": "npm run prebuild", + "build:map": "babel --source-maps=true -d dist src", + "pretest": "npm run build:map", + "test": "nyc ava test", "lint": "eslint src", - "test": "ava test", "prepublish": "npm run build" }, "babel": { @@ -51,7 +54,8 @@ "babel-plugin-add-module-exports": "^0.2.1", "babel-preset-es2015": "^6.9.0", "eslint": "^2.11.1", - "eslint-config-lukechilds": "^1.5.1" + "eslint-config-lukechilds": "^1.5.1", + "nyc": "^6.4.4" }, "dependencies": { "commander": "^2.9.0",