Skip to content

Commit

Permalink
build(package): add script prepublishOnly and "files" field
Browse files Browse the repository at this point in the history
  • Loading branch information
remarkablemark committed Jun 19, 2019
1 parent d394964 commit 5fad9ff
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@
"coveralls": "cat coverage/lcov.info | coveralls",
"lint": "eslint --ignore-path .gitignore .",
"lint:fix": "npm run lint -- --fix",
"prepublishOnly": "npm run build",
"release": "standard-version --no-verify",
"test": "jest",
"test:ci": "npm run test:coverage -- --ci",
Expand Down Expand Up @@ -47,5 +48,8 @@
"rollup-plugin-uglify": "^6.0.2",
"standard-version": "^6.0.1"
},
"files": [
"./dist"
],
"license": "MIT"
}

0 comments on commit 5fad9ff

Please sign in to comment.