FazBrowse GitHub Viewer
|
Trending
|
URL:
|
Home
Tools:
[Download Repo ZIP]
[View Raw Code]
[Original HTTPS Page]
virtual-things-adapter/package.sh at master · WebThingsIO/virtual-things-adapter · GitHub
WebThingsIO
/
virtual-things-adapter
Public
Notifications
You must be signed in to change notification settings
Fork
12
Star
12
Code
Issues
8
Pull requests
2
Actions
Projects
Security and quality
0
Insights
Additional navigation options
Code
Issues
Pull requests
Actions
Projects
Security and quality
Insights
Expand file tree
Breadcrumbs
virtual-things-adapter
/
package.sh
Copy path
More file actions
More file actions
Latest commit
History
History
History
executable file
·
23 lines (14 loc) · 596 Bytes
Breadcrumbs
virtual-things-adapter
/
package.sh
Copy path
File metadata and controls
executable file
·
23 lines (14 loc) · 596 Bytes
Raw
Copy raw file
Download raw file
Open symbols panel
Edit and raw actions
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
#!
/bin/bash -e
rm -rf node_modules
npm ci --production
#
Remove internal package-lock cache which can cause checksum errors at runtime
rm -f node_modules/.package-lock.json
shasum --algorithm 256 manifest.json package.json
*
.js LICENSE
>
SHA256SUMS
find static -type f -exec shasum --algorithm 256 {}
\;
>>
SHA256SUMS
find node_modules
\(
-type f -o -type l
\)
-exec shasum --algorithm 256 {}
\;
>>
SHA256SUMS
TARFILE=
`
npm pack
`
tar xzf
${TARFILE}
cp -r node_modules ./package
tar czf
${TARFILE}
package
shasum --algorithm 256
${TARFILE}
>
${TARFILE}
.sha256sum
rm -rf SHA256SUMS package
Back
|
FazBrowse Home
|
New Git URL