Allow transforming to any format
This changes around `utils/use_require.js` to be able to generate any of AMD (RequireJS), CommonJS, SystemJS, or UMD modules. The three former also include support for translating `vnc.html`, producing a full "app" version of noVNC.
This commit is contained in:
12
package.json
12
package.json
@@ -9,8 +9,7 @@
|
||||
},
|
||||
"scripts": {
|
||||
"test": "PATH=$PATH:node_modules/karma/bin karma start karma.conf.js",
|
||||
"prepublish": "node ./utils/use_require.js --as-require",
|
||||
"build-es6": "node ./utils/use_require.js"
|
||||
"prepublish": "node ./utils/use_require.js --as commonjs"
|
||||
},
|
||||
"repository": {
|
||||
"type": "git",
|
||||
@@ -29,10 +28,14 @@
|
||||
"homepage": "https://github.com/kanaka/noVNC",
|
||||
"devDependencies": {
|
||||
"ansi": "^0.3.1",
|
||||
"babel-core": "^6.22.1",
|
||||
"babel-plugin-add-module-exports": "^0.2.1",
|
||||
"babel-plugin-transform-es2015-modules-amd": "^6.22.0",
|
||||
"babel-plugin-transform-es2015-modules-commonjs": "^6.18.0",
|
||||
"babelify": "^7.3.0",
|
||||
"babel-plugin-transform-es2015-modules-systemjs": "^6.22.0",
|
||||
"babel-plugin-transform-es2015-modules-umd": "^6.22.0",
|
||||
"browser-es-module-loader": "^0.4.1",
|
||||
"babelify": "^7.3.0",
|
||||
"browserify": "^13.1.0",
|
||||
"casperjs": "^1.1.3",
|
||||
"chai": "^3.5.0",
|
||||
@@ -55,7 +58,6 @@
|
||||
"sinon": "^1.17.6",
|
||||
"sinon-chai": "^2.8.0",
|
||||
"spooky": "^0.2.5",
|
||||
"temp": "^0.8.3",
|
||||
"through2": "^2.0.1"
|
||||
"temp": "^0.8.3"
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user