mirror of
https://github.com/yldio/copilot.git
synced 2024-11-11 05:40:11 +02:00
move webpack output to root static
This commit is contained in:
parent
34abad383a
commit
23dab7b6cf
@ -15,7 +15,8 @@
|
|||||||
"test": "make test",
|
"test": "make test",
|
||||||
"open": "nyc report --reporter=html & open coverage/index.html",
|
"open": "nyc report --reporter=html & open coverage/index.html",
|
||||||
"coverage": "nyc check-coverage --statements 100 --functions 100 --lines 100 --branches 100",
|
"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": {
|
"dependencies": {
|
||||||
"constant-case": "^2.0.0",
|
"constant-case": "^2.0.0",
|
||||||
|
@ -3,12 +3,13 @@
|
|||||||
"version": "1.0.0",
|
"version": "1.0.0",
|
||||||
"private": true,
|
"private": true,
|
||||||
"license": "private",
|
"license": "private",
|
||||||
|
"main": "static/ui",
|
||||||
"scripts": {
|
"scripts": {
|
||||||
"start": "webpack-dev-server --config webpack/index.js",
|
"start": "webpack-dev-server --config webpack/index.js",
|
||||||
"lint": "make lint",
|
"lint": "make lint",
|
||||||
"test": "make test",
|
"test": "make test",
|
||||||
"build": "NODE_ENV=production webpack --config webpack/index.js",
|
"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"
|
"build-docs-static": "sh scripts/build-docs-static.sh"
|
||||||
},
|
},
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
|
2
ui/static/.gitignore
vendored
2
ui/static/.gitignore
vendored
@ -2,6 +2,8 @@
|
|||||||
!.gitignore
|
!.gitignore
|
||||||
!.gitkeep
|
!.gitkeep
|
||||||
!index.html
|
!index.html
|
||||||
|
!reboot.css
|
||||||
|
!theme.css
|
||||||
|
|
||||||
js/*
|
js/*
|
||||||
!js/.gitkeep
|
!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