
Tracking the version under one `-prerelease` channel allows other packages to depend on `^0.1.0-prerelease` for the most up to date version. Track the git sha for the release in package.json Reuse the json package needed for writing the sha to retrieve the package.json version field
41 lines
1.1 KiB
JSON
41 lines
1.1 KiB
JSON
{
|
|
"name": "scratch-render",
|
|
"version": "0.1.0",
|
|
"description": "WebGL Renderer for Scratch 3.0",
|
|
"author": "Massachusetts Institute of Technology",
|
|
"license": "BSD-3-Clause",
|
|
"homepage": "https://github.com/LLK/scratch-render#readme",
|
|
"repository": {
|
|
"type": "git",
|
|
"url": "git+ssh://git@github.com/LLK/scratch-render.git"
|
|
},
|
|
"main": "./dist.js",
|
|
"scripts": {
|
|
"version": "./node_modules/.bin/json -f package.json -I -e \"this.repository.sha = '$(git log -n1 --pretty=format:%H)'\"",
|
|
"prepublish": "make build",
|
|
"start": "make serve",
|
|
"test": "make test"
|
|
},
|
|
"dependencies": {},
|
|
"devDependencies": {
|
|
"babel-core": "6.9.1",
|
|
"babel-eslint": "6.0.4",
|
|
"babel-loader": "6.2.4",
|
|
"babel-polyfill": "6.9.1",
|
|
"babel-preset-es2015": "6.9.0",
|
|
"eslint": "2.7.0",
|
|
"gh-pages": "0.11.0",
|
|
"json": "9.0.4",
|
|
"json-loader": "0.5.4",
|
|
"lodash.defaultsdeep": "4.6.0",
|
|
"raw-loader": "0.5.1",
|
|
"svg-to-image": "1.1.3",
|
|
"tap": "5.7.1",
|
|
"travis-after-all": "1.4.4",
|
|
"twgl.js": "1.5.2",
|
|
"webpack": "1.13.0",
|
|
"webpack-dev-server": "1.14.1",
|
|
"xhr": "2.2.0"
|
|
}
|
|
}
|