We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 9c91af7 commit 7966937Copy full SHA for 7966937
bin/version
@@ -0,0 +1,4 @@
1
+#!/usr/bin/env node
2
+
3
+const package = require('../package.json');
4
+console.log(package.version);
package.json
@@ -14,7 +14,8 @@
14
"ci": "DEBUG_MODE=none npm run build && jest --ci",
15
"build": "rimraf dist && rollup -c",
16
"test:watch": "npm run build && jest --watch",
17
- "test": "npm run build && jest --verbose"
+ "test": "npm run build && jest --verbose",
18
+ "tag": "git tag -f \"v$(bin/version)\""
19
},
20
"files": [
21
"dist",
0 commit comments