move webpack output to root static
This commit is contained in:
parent
34abad383a
commit
23dab7b6cf
@ -15,7 +15,8 @@
|
||||
"test": "make test",
|
||||
"open": "nyc report --reporter=html & open coverage/index.html",
|
||||
"coverage": "nyc check-coverage --statements 100 --functions 100 --lines 100 --branches 100",
|
||||
"build-locales": " CONFIG=$(pwd)/webpack/index.js NODE_ENV=test babel-node scripts/build-locales"
|
||||
"build-locales": " CONFIG=$(pwd)/webpack/index.js NODE_ENV=test babel-node scripts/build-locales",
|
||||
"clean-static": "git check-ignore static/** | xargs rm"
|
||||
},
|
||||
"dependencies": {
|
||||
"constant-case": "^2.0.0",
|
||||
|
@ -3,12 +3,13 @@
|
||||
"version": "1.0.0",
|
||||
"private": true,
|
||||
"license": "private",
|
||||
"main": "static/ui",
|
||||
"scripts": {
|
||||
"start": "webpack-dev-server --config webpack/index.js",
|
||||
"lint": "make lint",
|
||||
"test": "make test",
|
||||
"build": "NODE_ENV=production webpack --config webpack/index.js",
|
||||
"clean-static": "sh scripts/clean-static.sh",
|
||||
"clean-static": "git check-ignore static/** | xargs rm",
|
||||
"build-docs-static": "sh scripts/build-docs-static.sh"
|
||||
},
|
||||
"dependencies": {
|
||||
|
2
ui/static/.gitignore
vendored
2
ui/static/.gitignore
vendored
@ -2,6 +2,8 @@
|
||||
!.gitignore
|
||||
!.gitkeep
|
||||
!index.html
|
||||
!reboot.css
|
||||
!theme.css
|
||||
|
||||
js/*
|
||||
!js/.gitkeep
|
||||
|
4
ui/static/css/.gitignore
vendored
4
ui/static/css/.gitignore
vendored
@ -1,4 +0,0 @@
|
||||
*
|
||||
!.gitignore
|
||||
!theme.css
|
||||
!reboot.css
|
Loading…
Reference in New Issue
Block a user