mirror of
https://github.com/bigchaindb/js-bigchaindb-driver.git
synced 2024-11-25 20:00:19 +01:00
npm package fixes
* generate dist output before publishing to npm
* empty .npmignore to make sure gitignored `dist/` is included in
published npm package
* switch back entry point (reverts
6a32fa4cdc
)
This commit is contained in:
parent
e525ebb105
commit
c351f874cc
0
.npmignore
Normal file
0
.npmignore
Normal file
@ -10,7 +10,7 @@
|
|||||||
},
|
},
|
||||||
"license": "Apache-2.0",
|
"license": "Apache-2.0",
|
||||||
"author": "BigchainDB",
|
"author": "BigchainDB",
|
||||||
"main": "./src/index.js",
|
"main": "./dist/bundle/bundle.js",
|
||||||
"scripts": {
|
"scripts": {
|
||||||
"lint": "eslint ./",
|
"lint": "eslint ./",
|
||||||
"build": "npm run clean && npm run build:bundle && npm run build:cjs && npm run build:dist",
|
"build": "npm run clean && npm run build:bundle && npm run build:cjs && npm run build:dist",
|
||||||
@ -22,7 +22,7 @@
|
|||||||
"release": "./node_modules/release-it/bin/release.js --src.tagName='v%s' --github.release --npm.publish --non-interactive",
|
"release": "./node_modules/release-it/bin/release.js --src.tagName='v%s' --github.release --npm.publish --non-interactive",
|
||||||
"release-minor": "./node_modules/release-it/bin/release.js minor --src.tagName='v%s' --github.release --npm.publish --non-interactive",
|
"release-minor": "./node_modules/release-it/bin/release.js minor --src.tagName='v%s' --github.release --npm.publish --non-interactive",
|
||||||
"release-major": "./node_modules/release-it/bin/release.js major --src.tagName='v%s' --github.release --npm.publish --non-interactive",
|
"release-major": "./node_modules/release-it/bin/release.js major --src.tagName='v%s' --github.release --npm.publish --non-interactive",
|
||||||
"postinstall": "npm i && npm run build",
|
"prepublishOnly": "npm update && npm run build",
|
||||||
"precommit": "npm run lint"
|
"precommit": "npm run lint"
|
||||||
},
|
},
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
|
Loading…
Reference in New Issue
Block a user