scratch-blocks/package.json
chrisgarrity 5cb1651e56 Clarifications and consistency
*  removed all the generated files (<locale>.json, <locale>.js) except for ‘en’ versions and added them to git ignore.
* updated cleanup.sh to use our messages.
* added validation check to fail if any translations include newlines
* skip generating js files other than ‘en’ as we don’t use them
* Revised messages.js to use _single_ quoted strings instead of double (consistent with Blockly - if we need to import more strings), and switch the validations to check for single not double quotes.
* additional small changes for simplicity and ergonomics

Not handling category menu at this time as it’s managed differently in scratch-gui.
2018-06-13 10:50:20 -04:00

46 lines
1.7 KiB
JSON

{
"name": "scratch-blocks",
"version": "0.1.0",
"description": "Scratch Blocks is a library for building creative computing interfaces.",
"author": "Massachusetts Institute of Technology",
"license": "Apache-2.0",
"homepage": "https://github.com/LLK/scratch-blocks#readme",
"repository": {
"type": "git",
"url": "https://github.com/LLK/scratch-blocks.git"
},
"main": "./dist/vertical.js",
"browser": "./shim/vertical.js",
"scripts": {
"deploy": "rimraf gh-pages/closure-library/scripts/ci/CloseAdobeDialog.exe && gh-pages -t -d gh-pages -m \"Build for $(git log --pretty=format:%H -n1)\"",
"prepublish": "python build.py && webpack",
"test:setup": "tests/scripts/test_setup.sh",
"test:unit": "node tests/jsunit/test_runner.js",
"test:lint": "eslint .",
"test": "npm run test:lint && npm run translate && npm run test:setup && npm run test:unit",
"version": "json -f package.json -I -e \"this.repository.sha = '$(git log -n1 --pretty=format:%H)'\"",
"translate": "node i18n/js_to_json.js && node i18n/json_to_js.js && node i18n/create_scratch_msgs.js"
},
"dependencies": {
"exports-loader": "0.6.3",
"imports-loader": "0.6.5"
},
"devDependencies": {
"async": "2.6.0",
"copy-webpack-plugin": "4.5.1",
"eslint": "^4.16",
"event-stream": "3.3.4",
"gh-pages": "0.12.0",
"glob": "7.1.2",
"google-closure-compiler": "20180402.0.0",
"google-closure-library": "20180204.0.0",
"graceful-fs": "4.1.11",
"json": "9.0.4",
"rimraf": "2.6.2",
"travis-after-all": "1.4.4",
"uglifyjs-webpack-plugin": "^1.2.5",
"webdriverio": "4.8.0",
"webpack": "^4.8.0",
"webpack-cli": "^2.0.15"
}
}