mirror of
https://github.com/ansible/awx.git
synced 2026-06-30 19:08:02 -02:30
Update UI build system
* Faster build times * Smaller bundle sizes * Adjust paths * Cleanup npm dependencies * Remove unneded Grunt tasks
This commit is contained in:
@@ -1,65 +1,61 @@
|
||||
{
|
||||
"name": "ansible-tower",
|
||||
"version": "3.1.0",
|
||||
"name": "awx",
|
||||
"version": "1.0.0",
|
||||
"repository": {
|
||||
"type": "git",
|
||||
"url": ""
|
||||
"url": "https://github.com/ansible/awx"
|
||||
},
|
||||
"config": {
|
||||
"django_port": "8043",
|
||||
"django_host": "localhost"
|
||||
},
|
||||
"engines": {
|
||||
"node": "^6.3.1",
|
||||
"node": "^6.11.3",
|
||||
"npm": "^3.10.3"
|
||||
},
|
||||
"scripts": {
|
||||
"ui-docker-machine": "ip=$(docker-machine ip $DOCKER_MACHINE_NAME); npm set ansible-tower:django_host ${ip}; grunt dev;",
|
||||
"ui-docker": "grunt dev;",
|
||||
"build-devel": "grunt devNoSync",
|
||||
"ui-docker": "npm run watch;",
|
||||
"build-devel": "npm run dev",
|
||||
"pot": "grunt nggettext_extract",
|
||||
"languages": "grunt nggettext_compile",
|
||||
"build-release": "grunt release",
|
||||
"pretest": "grunt clean:coverage",
|
||||
"build-release": "npm run production",
|
||||
"pretest": "",
|
||||
"test": "karma start karma.conf.js",
|
||||
"jshint": "grunt clean:jshint jshint:source --no-color",
|
||||
"jshint": "grunt jshint:source --no-color",
|
||||
"test:ci": "npm run test -- --single-run --reporter junit,dots --browsers=PhantomJS",
|
||||
"lint": "./node_modules/.bin/eslint -c .eslintrc.js .",
|
||||
"component-test": "./node_modules/.bin/karma start client/test/karma.conf.js",
|
||||
"lint-dev": "./node_modules/.bin/nodemon --exec \"./node_modules/.bin/eslint -c .eslintrc.js .\" --watch \"client/components/**/*.js\"",
|
||||
"component-dev": "./node_modules/.bin/karma start client/test/karma.conf.js --auto-watch --no-single-run"
|
||||
},
|
||||
"optionalDependencies": {
|
||||
"browser-sync": "^2.14.0",
|
||||
"grunt-browser-sync": "^2.2.0",
|
||||
"grunt-contrib-watch": "^1.0.0",
|
||||
"webpack-dev-server": "^1.14.1"
|
||||
"dev": "./node_modules/.bin/webpack --config build/webpack.development.js --progress",
|
||||
"watch": "./node_modules/.bin/webpack-dev-server --config build/webpack.watch.js --progress",
|
||||
"production": "./node_modules/.bin/webpack --config build/webpack.production.js"
|
||||
},
|
||||
"devDependencies": {
|
||||
"angular-mocks": "~1.4.14",
|
||||
"babel-core": "^6.11.4",
|
||||
"babel-core": "^6.26.0",
|
||||
"babel-istanbul": "^0.11.0",
|
||||
"babel-loader": "^6.2.4",
|
||||
"babel-loader": "^7.1.2",
|
||||
"babel-plugin-istanbul": "^2.0.0",
|
||||
"babel-preset-es2015": "^6.9.0",
|
||||
"babel-preset-es2015": "^6.24.1",
|
||||
"clean-webpack-plugin": "^0.1.16",
|
||||
"copy-webpack-plugin": "^4.0.1",
|
||||
"css-loader": "^0.28.5",
|
||||
"eslint": "^3.18.0",
|
||||
"eslint-config-airbnb-base": "^11.1.1",
|
||||
"eslint-plugin-import": "^2.2.0",
|
||||
"expose-loader": "^0.7.1",
|
||||
"expose-loader": "^0.7.3",
|
||||
"extract-text-webpack-plugin": "^3.0.0",
|
||||
"grunt": "^1.0.1",
|
||||
"grunt-angular-gettext": "^2.2.3",
|
||||
"grunt-cli": "^1.2.0",
|
||||
"grunt-concurrent": "^2.3.0",
|
||||
"grunt-contrib-clean": "^1.0.0",
|
||||
"grunt-contrib-concat": "^1.0.1",
|
||||
"grunt-contrib-copy": "^1.0.0",
|
||||
"grunt-contrib-cssmin": "^2.2.0",
|
||||
"grunt-contrib-jshint": "^1.0.0",
|
||||
"grunt-contrib-less": "^1.3.0",
|
||||
"grunt-extract-sourcemap": "^0.1.18",
|
||||
"grunt-newer": "^1.2.0",
|
||||
"grunt-webpack": "^1.0.11",
|
||||
"imports-loader": "^0.6.5",
|
||||
"html-loader": "^0.5.1",
|
||||
"html-webpack-harddisk-plugin": "^0.1.0",
|
||||
"html-webpack-plugin": "^2.30.1",
|
||||
"imports-loader": "^0.7.1",
|
||||
"jasmine-core": "^2.5.2",
|
||||
"jshint": "^2.9.4",
|
||||
"jshint-loader": "^0.8.3",
|
||||
@@ -77,13 +73,20 @@
|
||||
"karma-sauce-launcher": "^1.0.0",
|
||||
"karma-sourcemap-loader": "^0.3.7",
|
||||
"karma-webpack": "^1.8.0",
|
||||
"less": "^2.7.2",
|
||||
"less-loader": "^4.0.5",
|
||||
"less-plugin-autoprefix": "^1.4.2",
|
||||
"load-grunt-configs": "^1.0.0",
|
||||
"load-grunt-tasks": "^3.5.0",
|
||||
"minimist": "^1.2.0",
|
||||
"ngtemplate-loader": "^2.0.1",
|
||||
"phantomjs-prebuilt": "^2.1.12",
|
||||
"script-loader": "^0.7.0",
|
||||
"style-loader": "^0.18.2",
|
||||
"time-grunt": "^1.4.0",
|
||||
"webpack": "^1.13.1"
|
||||
"uglifyjs-webpack-plugin": "^0.4.6",
|
||||
"webpack": "^3.0.0",
|
||||
"webpack-dev-server": "^2.7.1"
|
||||
},
|
||||
"dependencies": {
|
||||
"angular": "~1.4.14",
|
||||
@@ -100,8 +103,8 @@
|
||||
"angular-scheduler": "github:ansible/angular-scheduler#0.1.1",
|
||||
"angular-tz-extensions": "github:ansible/angular-tz-extensions#0.3.13",
|
||||
"angular-ui-router": "1.0.0-beta.3",
|
||||
"bootstrap": "^3.1.1",
|
||||
"bootstrap-datepicker": "^1.4.0",
|
||||
"bootstrap": "^3.3.7",
|
||||
"bootstrap-datepicker": "^1.7.1",
|
||||
"codemirror": "^5.17.0",
|
||||
"components-font-awesome": "^4.6.1",
|
||||
"d3": "~3.3.13",
|
||||
|
||||
Reference in New Issue
Block a user