Skip to content

Commit

Permalink
Cleanup for publishing
Browse files Browse the repository at this point in the history
  • Loading branch information
kcamenzind committed May 3, 2023
1 parent 8760119 commit 852971b
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 3 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,2 +1,3 @@
node_modules
dist
*.tgz
6 changes: 5 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -17,11 +17,15 @@
"node-red",
"phidgets"
],
"files": [
"dist/*"
],
"scripts": {
"build": "tsc --skipLibCheck && cp ./src/*.html ./dist/ && cp -r ./static ./dist/ && cp -r ./icons ./dist/",
"clean": "rm -rf ./dist",
"check": "npx prettier --check ./src/*",
"format": "npx prettier --write ./src/*"
"format": "npx prettier --write ./src/*",
"prepublish": "npm run check && npm run build"
},
"author": "Michael Paradis",
"contributors": ["Kathy Camenzind"],
Expand Down
2 changes: 1 addition & 1 deletion src/phidget22-connect.html
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
port: { value: '5661', required: 'true' },
hostname: { value: 'localhost', required: 'true' },
debug: { value: false },
retry: { value: false }
retry: { value: false },
},
inputs: 0,
outputs: 1,
Expand Down
2 changes: 1 addition & 1 deletion tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
"rootDir": "src",
"strict": true,
"skipLibCheck": true,
"declaration": true
"declaration": false
},
"include": [
"src/*.ts"
Expand Down

0 comments on commit 852971b

Please sign in to comment.