-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
26 lines (26 loc) · 1.24 KB
/
package.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
{
"name": "generator-babel-app",
"version": "0.1.4",
"description": "",
"files": [
"generators"
],
"keywords": [
"yeoman-generator"
],
"dependencies": {
"yeoman-generator": "^3.1.1",
"yosay": "^2.0.1",
"chalk": "^2.1.0",
"npm-check-updates": "^3.1.13"
},
"scripts": {
"current-version": "node -e 'console.log(process.env.npm_package_version + (process.env.BUILD_VERSION ? `.${process.env.BUILD_VERSION}` : ``))'",
"next-patch-version": "node -e 'var split = process.env.npm_package_version.split(\".\"); console.log(`${split[0]}.${split[1]}.${parseInt(split[2]) + 1}`)'",
"next-minor-version": "node -e 'var split = process.env.npm_package_version.split(\".\"); console.log(`${split[0]}.${parseInt(split[1]) + 1}.0`)'",
"next-major-version": "node -e 'var split = process.env.npm_package_version.split(\".\"); console.log(`${parseInt(split[0]) + 1}.0.0`)'",
"patch-version-commit": "npm version `npm run --silent next-patch-version` --force -a",
"minor-version-commit": "npm version `npm run --silent next-minor-version` --force -a",
"major-version-commit": "npm version `npm run --silent next-major-version` --force -a"
}
}