File: publish-npm-alias.sh

package info (click to toggle)
node-flow-remove-types 1.2.3-7
  • links: PTS, VCS
  • area: main
  • in suites: bookworm, forky, sid, trixie
  • size: 204 kB
  • sloc: javascript: 668; sh: 44; makefile: 7
file content (9 lines) | stat: -rwxr-xr-x 241 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
#!/bin/sh

rm -rf npm-alias
mkdir npm-alias
cp * npm-alias/ 2> /dev/null
node -p "p=require('./package.json');p.name='flow-node';delete p.scripts;JSON.stringify(p, null, 2)" > npm-alias/package.json
cd npm-alias
npm publish
rm -rf npm-alias