NPM distribution (#2780)

* Add NPM distribution tasks.
This commit is contained in:
Sam El-Husseini
2019-08-07 10:35:17 -07:00
committed by GitHub
parent 325adbabb0
commit de39d5f2d0
17 changed files with 13531 additions and 9 deletions

View File

@@ -2,7 +2,6 @@
"name": "blockly",
"version": "2.20190722.1",
"description": "Blockly is a library for building visual programming editors.",
"main": "blockly_node_javascript_en.js",
"keywords": [
"blockly"
],
@@ -18,9 +17,20 @@
"name": "Neil Fraser"
},
"scripts": {
"prepare": "gulp blockly_javascript_en",
"prepare": "gulp blockly_node_javascript_en",
"lint": "eslint .",
"test": "tests/run_all_tests.sh"
"test": "tests/run_all_tests.sh",
"package": "gulp package",
"release": "gulp release"
},
"main": "./index.js",
"umd": "./blockly.min.js",
"unpkg": "./blockly.min.js",
"types": "./blockly.d.ts",
"browser": {
"./node.js": "./browser.js",
"./core.js": "./core-browser.js",
"./blockly-node.js": "./blockly.js"
},
"license": "Apache-2.0",
"private": true,
@@ -34,9 +44,14 @@
"gulp-insert": "^0.5.0",
"gulp-series": "^1.0.2",
"gulp-shell": "^0.7.1",
"gulp-rename": "^1.4.0",
"gulp-replace": "^1.0.0",
"gulp-umd": "^2.0.0",
"jshint": "^2.10.2",
"mocha": "^6.1.4",
"webdriverio": "^5.11.5"
"webdriverio": "^5.11.5",
"rimraf": "^2.6.3",
"typescript-closure-tools": "^0.0.7"
},
"jshintConfig": {
"globalstrict": true,