Skip to content
This repository has been archived by the owner on Jan 22, 2025. It is now read-only.

Commit

Permalink
Fix issue with missing files
Browse files Browse the repository at this point in the history
  • Loading branch information
jhsware committed Jul 2, 2018
1 parent 40922e6 commit 3942521
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 1 deletion.
2 changes: 2 additions & 0 deletions .npmignore
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
.DS_Store

.git/
test/
src/

# VS Code specific
.vscode
Expand Down
6 changes: 5 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,10 @@
"main": "dist/cjs/index.js",
"umd:main": "dist/umd/index.js",
"module": "lib/index.js",
"files": [
"dist",
"lib"
],
"scripts": {
"test": "npm run build && npm run build-test",
"test-browser": "npm run build-test && node test/server.js",
Expand All @@ -13,7 +17,7 @@
"build-dev": "rm -rf ./dist && cross-env NODE_ENV=development babel lib --out-dir dist --watch --source-maps",
"build-test": "rm -rf ./test/dist && cross-env NODE_ENV=development node_modules/.bin/webpack --config ./test/webpack.config.js",
"build-test-dev": "rm -rf ./test/dist && cross-env NODE_ENV=development node_modules/.bin/webpack --watch --config ./test/webpack.config.js",
"build": "npm run build:clean && npm run build:es && npm run build:dist && npm run build:dist:prod & npm run build:legacy",
"build": "npm run build:es && npm run build:dist && npm run build:dist:prod & npm run build:legacy",
"build:clean": "rm -rf dist/ && rm -rf lib/",
"build:es": "cross-env NODE_ENV=development babel src --out-dir lib",
"build:dist": "cross-env NODE_ENV=development rollup -c",
Expand Down

0 comments on commit 3942521

Please sign in to comment.