Skip to content

Commit

Permalink
Adds np release script
Browse files Browse the repository at this point in the history
  • Loading branch information
Christopher Patty committed Jan 25, 2021
1 parent 6fd1552 commit 62a30d4
Showing 1 changed file with 8 additions and 1 deletion.
9 changes: 8 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,11 +12,18 @@
"scripts": {
"build": "node process.js && node build.js",
"start-site": "parcel demo-site/index.html --out-dir site-dist",
"build-site": "parcel build demo-site/index.html --out-dir docs --public-url https://tecuity.github.io/barcode-generator/"
"build-site": "parcel build demo-site/index.html --out-dir docs --public-url https://tecuity.github.io/barcode-generator/",
"postversion": "cp -f package.json dist",
"release": "npx np"
},
"publishConfig": {
"access": "public"
},
"np": {
"yarn": false,
"contents": "dist",
"tests": false
},
"devDependencies": {
"@babel/core": "^7.8.4",
"@babel/preset-env": "^7.8.4",
Expand Down

0 comments on commit 62a30d4

Please sign in to comment.