Skip to content

Commit

Permalink
Copy package.json to dist folder, publish from there
Browse files Browse the repository at this point in the history
  • Loading branch information
Siegrift committed May 31, 2019
1 parent 70824c9 commit 364532f
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -4,4 +4,4 @@
validator/build
node_modules
yarn-lock.json
out
dist
8 changes: 4 additions & 4 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,10 +7,10 @@
},
"author": "Siegrift <e.tesarr@gmail.com>",
"license": "MIT",
"main": "./out/index.js",
"types": "./out/index.d.ts",
"main": "./index.js",
"types": "./index.d.ts",
"files": [
"out/**/*"
"*"
],
"devDependencies": {
"@types/jest": "^24.0.13",
Expand All @@ -26,7 +26,7 @@
"scripts": {
"test": "jest",
"test-watch": "jest --watch",
"build": "yarn tsc --target \"ES5\" --outDir \"out\" --declaration true"
"build": "yarn tsc --target \"ES5\" --outDir \"dist\" --declaration true && cp package.json dist"
},
"husky": {
"hooks": {
Expand Down

0 comments on commit 364532f

Please sign in to comment.