mirror of
https://github.com/tcgdex/javascript-sdk.git
synced 2025-06-14 11:59:19 +00:00
Added a version script
It automaticly update the version number without importing package.json Signed-off-by: Avior <florian.bouillon@delta-wings.net>
This commit is contained in:
@ -42,7 +42,8 @@
|
||||
"unfetch": "^4.2.0"
|
||||
},
|
||||
"scripts": {
|
||||
"build": "yarn build:cjs && yarn build:browser && yarn build:es2015",
|
||||
"prebuild": "node scripts/export-version-number.js",
|
||||
"build": "yarn prebuild && yarn build:cjs && yarn build:browser && yarn build:es2015",
|
||||
"build:cjs": "tsc --project tsconfig.json",
|
||||
"build:es2015": "tsc --project tsconfig.es2015.json",
|
||||
"build:browser": "wp --config webpack.config.js",
|
||||
|
Reference in New Issue
Block a user