Skip to content

Commit

Permalink
chore(layout): separate dist files
Browse files Browse the repository at this point in the history
  • Loading branch information
johngeorgewright committed Apr 16, 2018
1 parent c39dd4d commit dca1e36
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 4 deletions.
1 change: 1 addition & 0 deletions .eslintignore
@@ -0,0 +1 @@
dist
2 changes: 1 addition & 1 deletion .npmignore
@@ -1,4 +1,4 @@
coverage
hot-press.src.js
src
*.log
node_modules
4 changes: 2 additions & 2 deletions package.json
Expand Up @@ -2,14 +2,14 @@
"name": "hot-press",
"version": "2.1.0",
"description": "Event lifecycle management",
"main": "hot-press.js",
"main": "dist/hot-press.js",
"scripts": {
"build": "rollup -c",
"build-w": "npm run build -- -w",
"cover": "cat ./coverage/lcov.info | coveralls && rm -rf ./coverage",
"lint": "eslint src/* test/*",
"lint-w": "nodemon -x 'npm run lint' -w src -w test",
"prepare": "npm test && npm run build",
"prepublishOnly": "npm test && npm run build",
"spec": "cross-env NODE_ENV=test nyc --reporter=lcov mocha --ui tdd --check-leaks --require babel-register",
"spec-w": "mocha --ui tdd --check-leaks --watch --growl --reporter nyan --require babel-register",
"test": "npm run lint && cross-env NODE_ENV=test nyc --reporter=lcovonly --reporter=text mocha --ui tdd --check-leaks --require babel-register"
Expand Down
2 changes: 1 addition & 1 deletion rollup.config.js
Expand Up @@ -4,7 +4,7 @@ import babel from 'rollup-plugin-babel'
export default {
input: 'src/hot-press.js',
output: {
file: 'hot-press.js',
file: 'dist/hot-press.js',
format: 'cjs'
},
plugins: [
Expand Down

0 comments on commit dca1e36

Please sign in to comment.