mirror of
https://github.com/tcgdex/javascript-sdk.git
synced 2025-06-07 16:59:55 +00:00
It automaticly update the version number without importing package.json Signed-off-by: Avior <florian.bouillon@delta-wings.net>
5 lines
139 B
JavaScript
5 lines
139 B
JavaScript
const { version } = require('../package.json')
|
|
const fs = require('fs')
|
|
|
|
fs.writeFileSync('./src/version.json', JSON.stringify({version}))
|