package.json: wait a minute, we don't use any of these dev-dependencies
npm complains about security problems and, well, we just don't use these. We can add things back later, at more recent versions, if we need to.
This commit is contained in:
Родитель
25d058b0ec
Коммит
1035ec993a
33
package.json
33
package.json
|
@ -23,46 +23,19 @@
|
|||
"lib/*.js"
|
||||
],
|
||||
"scripts": {
|
||||
"build": "npm run build:nbextension",
|
||||
"build": "npm run build:labextension && npm run build:nbextension",
|
||||
"build:labextension": "cd pywwt && rimraf labextension && mkdir labextension && cd labextension && npm pack ../..",
|
||||
"build:nbextension": "webpack",
|
||||
"build:all": "npm run build:labextension && npm run build:nbextension",
|
||||
"clean": "npm run clean:nbextension",
|
||||
"clean": "npm run clean:labextension && npm run clean:nbextension",
|
||||
"clean:labextension": "rimraf pywwt/labextension",
|
||||
"clean:nbextension": "rimraf pywwt/nbextension/static/index.js",
|
||||
"test": "npm run test:firefox",
|
||||
"test:chrome": "karma start --browsers=Chrome tests/karma.conf.js",
|
||||
"test:debug": "karma start --browsers=Chrome --singleRun=false --debug=true tests/karma.conf.js",
|
||||
"test:firefox": "karma start --browsers=Firefox tests/karma.conf.js",
|
||||
"test:ie": "karma start --browsers=IE tests/karma.conf.js",
|
||||
"watch": "npm-run-all -p watch:*",
|
||||
"watch:nbextension": "webpack --watch"
|
||||
"clean:nbextension": "rimraf pywwt/nbextension/static/index.js"
|
||||
},
|
||||
"dependencies": {
|
||||
"@jupyter-widgets/base": "^2.0.1"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@phosphor/application": "^1.5.0",
|
||||
"@phosphor/widgets": "^1.5.0",
|
||||
"@types/expect.js": "^0.3.29",
|
||||
"@types/mocha": "^2.2.41",
|
||||
"@types/node": "^8.0.17",
|
||||
"expect.js": "^0.3.1",
|
||||
"fs-extra": "^4.0.2",
|
||||
"json-loader": "^0.5.7",
|
||||
"karma": "^1.7.0",
|
||||
"karma-chrome-launcher": "^2.2.0",
|
||||
"karma-firefox-launcher": "^1.0.1",
|
||||
"karma-ie-launcher": "^1.0.0",
|
||||
"karma-mocha": "^1.3.0",
|
||||
"karma-mocha-reporter": "^2.2.3",
|
||||
"karma-typescript": "^3.0.5",
|
||||
"mkdirp": "^0.5.1",
|
||||
"mocha": "^3.5.0",
|
||||
"npm-run-all": "^4.1.1",
|
||||
"rimraf": "^2.6.2",
|
||||
"source-map-loader": "^0.2.1",
|
||||
"typescript": "~2.4.2",
|
||||
"webpack": "^3.4.1"
|
||||
},
|
||||
"jupyterlab": {
|
||||
|
|
2
setup.py
2
setup.py
|
@ -59,7 +59,7 @@ data_files_spec = [
|
|||
cmdclass = create_cmdclass('jsdeps', package_data_spec=package_data_spec,
|
||||
data_files_spec=data_files_spec)
|
||||
cmdclass['jsdeps'] = combine_commands(
|
||||
install_npm(HERE, build_cmd='build:all'),
|
||||
install_npm(HERE, build_cmd='build'),
|
||||
ensure_targets(jstargets),
|
||||
)
|
||||
|
||||
|
|
|
@ -1,6 +1,5 @@
|
|||
var loaders = [
|
||||
{ test: /\.ts$/, loader: 'ts-loader' },
|
||||
{ test: /\.json$/, loader: 'json-loader' },
|
||||
{ test: /\.js$/, loader: "source-map-loader" },
|
||||
];
|
||||
|
||||
|
|
Загрузка…
Ссылка в новой задаче