43 lines
2.1 KiB
JSON
43 lines
2.1 KiB
JSON
{
|
|
"name": "glowing-bear",
|
|
"private": true,
|
|
"version": "0.8.0",
|
|
"description": "A web client for Weechat",
|
|
"repository": "https://github.com/glowing-bear/glowing-bear",
|
|
"main": "electron-main.js",
|
|
"license": "GPLv3",
|
|
"devDependencies": {
|
|
"bower": "^1.8.8",
|
|
"electron-packager": "^12.2.0",
|
|
"http-server": "^0.12.0",
|
|
"jasmine-core": "^3.1",
|
|
"jshint": "^2.9.6",
|
|
"karma": "^4.2.0",
|
|
"karma-jasmine": "~1.1",
|
|
"karma-junit-reporter": "^1.2",
|
|
"karma-phantomjs-launcher": "^1.0.0",
|
|
"protractor": "^5.4.1",
|
|
"shelljs": "^0.8.0",
|
|
"uglify-js": "^3.4.9"
|
|
},
|
|
"scripts": {
|
|
"postinstall": "bower install -p",
|
|
"minify": " uglifyjs js/localstorage.js js/weechat.js js/irc-utils.js js/glowingbear.js js/settings.js js/utils.js js/notifications.js js/filters.js js/handlers.js js/connection.js js/file-change.js js/imgur-drop-directive.js js/whenscrolled-directive.js js/inputbar.js js/plugin-directive.js js/websockets.js js/models.js js/bufferResume.js js/plugins.js js/imgur.js -c -m --screw-ie8 -o min.js --source-map url='min.js.map'",
|
|
"prestart": "npm install",
|
|
"start": "http-server -a localhost -p 8000",
|
|
"pretest": "npm install",
|
|
"test": "karma start test/karma.conf.js",
|
|
"test-single-run": "karma start test/karma.conf.js --single-run",
|
|
"preupdate-webdriver": "npm install",
|
|
"update-webdriver": "webdriver-manager update",
|
|
"preprotractor": "npm run update-webdriver",
|
|
"protractor": "protractor test/protractor-conf.js",
|
|
"premake-local": "bower install --dev",
|
|
"make-local": "make -f electron.makefile uselocal",
|
|
"build-electron-windows": "make -f electron.makefile bower build-electron-windows",
|
|
"build-electron-darwin": "make -f electron.makefile bower build-electron-darwin",
|
|
"build-electron-linux": "make -f electron.makefile bower build-electron-linux",
|
|
"update-index-async": "node -e \"require('shelljs/global'); sed('-i', /\\/\\/@@NG_LOADER_START@@[\\s\\S]*\\/\\/@@NG_LOADER_END@@/, '//@@NG_LOADER_START@@\\n' + cat('app/bower_components/angular-loader/angular-loader.min.js') + '\\n//@@NG_LOADER_END@@', 'app/index-async.html');\""
|
|
}
|
|
}
|