1
0
mirror of https://github.com/yldio/copilot.git synced 2024-12-01 07:30:07 +02:00

move webpack output to root static

This commit is contained in:
Sérgio Ramos 2016-12-05 20:23:36 +00:00
parent 34abad383a
commit 23dab7b6cf
8 changed files with 6 additions and 6 deletions

View File

@ -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",

View File

@ -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": {

View File

@ -2,6 +2,8 @@
!.gitignore !.gitignore
!.gitkeep !.gitkeep
!index.html !index.html
!reboot.css
!theme.css
js/* js/*
!js/.gitkeep !js/.gitkeep

View File

@ -1,4 +0,0 @@
*
!.gitignore
!theme.css
!reboot.css

View File