mirror of
https://github.com/liabru/matter-js.git
synced 2025-01-21 17:14:38 -05:00
added release scripts
This commit is contained in:
parent
6a280902bf
commit
341c247295
2 changed files with 8 additions and 2 deletions
1
.gitignore
vendored
1
.gitignore
vendored
|
@ -3,6 +3,7 @@ node_modules
|
||||||
npm-debug.log
|
npm-debug.log
|
||||||
doc
|
doc
|
||||||
matter-doc-theme
|
matter-doc-theme
|
||||||
|
RELEASE.md
|
||||||
build/matter-dev.js
|
build/matter-dev.js
|
||||||
build/matter-dev.min.js
|
build/matter-dev.min.js
|
||||||
demo/js/lib/matter-dev.js
|
demo/js/lib/matter-dev.js
|
||||||
|
|
|
@ -20,6 +20,7 @@
|
||||||
"rigid body physics"
|
"rigid body physics"
|
||||||
],
|
],
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
|
"conventional-changelog-cli": "^2.1.1",
|
||||||
"eslint": "^6.8.0",
|
"eslint": "^6.8.0",
|
||||||
"jest": "^25.1.0",
|
"jest": "^25.1.0",
|
||||||
"jest-worker": "^24.9.0",
|
"jest-worker": "^24.9.0",
|
||||||
|
@ -36,13 +37,17 @@
|
||||||
"build-alpha": "webpack --mode=production --env.ALPHA & webpack --mode=production --env.MINIMIZE --env.ALPHA",
|
"build-alpha": "webpack --mode=production --env.ALPHA & webpack --mode=production --env.MINIMIZE --env.ALPHA",
|
||||||
"build-examples": "webpack --config webpack.examples.config.js --mode=production --env.ALPHA & webpack --config webpack.examples.config.js --mode=production --env.MINIMIZE --env.ALPHA",
|
"build-examples": "webpack --config webpack.examples.config.js --mode=production --env.ALPHA & webpack --config webpack.examples.config.js --mode=production --env.MINIMIZE --env.ALPHA",
|
||||||
"lint": "eslint 'src/**/*.js' 'demo/js/Demo.js' 'demo/js/Compare.js' 'examples/*.js' 'webpack.*.js'",
|
"lint": "eslint 'src/**/*.js' 'demo/js/Demo.js' 'demo/js/Compare.js' 'examples/*.js' 'webpack.*.js'",
|
||||||
"doc": "gulp doc",
|
"doc": "yuidoc --config yuidoc.json --project-version $npm_package_version",
|
||||||
"test": "npm run test-node",
|
"test": "npm run test-node",
|
||||||
"test-all": "jest",
|
"test-all": "jest",
|
||||||
"test-save": "SAVE=true npm run test-node",
|
"test-save": "SAVE=true npm run test-node",
|
||||||
"test-watch": "npm run test-node -- --watch",
|
"test-watch": "npm run test-node -- --watch",
|
||||||
"test-node": "jest ./test/Examples.spec.js",
|
"test-node": "jest ./test/Examples.spec.js",
|
||||||
"test-browser": "jest ./test/Browser.spec.js"
|
"test-browser": "jest ./test/Browser.spec.js",
|
||||||
|
"changelog": "conventional-changelog -i CHANGELOG.md -s -r",
|
||||||
|
"release": "npm version --no-git-tag-version",
|
||||||
|
"preversion": "git checkout -b master && npm run lint && SAVE=true npm run test-all",
|
||||||
|
"version": "git checkout -b release/$npm_package_version && npm run build"
|
||||||
},
|
},
|
||||||
"dependencies": {},
|
"dependencies": {},
|
||||||
"files": [
|
"files": [
|
||||||
|
|
Loading…
Add table
Reference in a new issue