From 9fe38b2560dd3b72e27fe4f8b95607ea15ef41e0 Mon Sep 17 00:00:00 2001 From: Alexis Lahouze Date: Sat, 10 Jun 2017 20:24:51 +0200 Subject: [PATCH] Rename accountant-ui dir to src. --- {accountant-ui => src}/index.ejs | 0 {accountant-ui => src}/js/accounts.js | 0 {accountant-ui => src}/js/app.js | 0 {accountant-ui => src}/js/bootstrap.config.js | 0 {accountant-ui => src}/js/bootstrap.config.less | 0 {accountant-ui => src}/js/operations.js | 0 {accountant-ui => src}/js/scheduler.js | 0 {accountant-ui => src}/less/main.less | 0 {accountant-ui => src}/views/account.form.tmpl.html | 0 {accountant-ui => src}/views/accounts.html | 0 {accountant-ui => src}/views/login.tmpl.html | 0 {accountant-ui => src}/views/operation.form.tmpl.html | 0 {accountant-ui => src}/views/operations.html | 0 {accountant-ui => src}/views/scheduler.html | 0 webpack.config.js | 6 +++--- 15 files changed, 3 insertions(+), 3 deletions(-) rename {accountant-ui => src}/index.ejs (100%) rename {accountant-ui => src}/js/accounts.js (100%) rename {accountant-ui => src}/js/app.js (100%) rename {accountant-ui => src}/js/bootstrap.config.js (100%) rename {accountant-ui => src}/js/bootstrap.config.less (100%) rename {accountant-ui => src}/js/operations.js (100%) rename {accountant-ui => src}/js/scheduler.js (100%) rename {accountant-ui => src}/less/main.less (100%) rename {accountant-ui => src}/views/account.form.tmpl.html (100%) rename {accountant-ui => src}/views/accounts.html (100%) rename {accountant-ui => src}/views/login.tmpl.html (100%) rename {accountant-ui => src}/views/operation.form.tmpl.html (100%) rename {accountant-ui => src}/views/operations.html (100%) rename {accountant-ui => src}/views/scheduler.html (100%) diff --git a/accountant-ui/index.ejs b/src/index.ejs similarity index 100% rename from accountant-ui/index.ejs rename to src/index.ejs diff --git a/accountant-ui/js/accounts.js b/src/js/accounts.js similarity index 100% rename from accountant-ui/js/accounts.js rename to src/js/accounts.js diff --git a/accountant-ui/js/app.js b/src/js/app.js similarity index 100% rename from accountant-ui/js/app.js rename to src/js/app.js diff --git a/accountant-ui/js/bootstrap.config.js b/src/js/bootstrap.config.js similarity index 100% rename from accountant-ui/js/bootstrap.config.js rename to src/js/bootstrap.config.js diff --git a/accountant-ui/js/bootstrap.config.less b/src/js/bootstrap.config.less similarity index 100% rename from accountant-ui/js/bootstrap.config.less rename to src/js/bootstrap.config.less diff --git a/accountant-ui/js/operations.js b/src/js/operations.js similarity index 100% rename from accountant-ui/js/operations.js rename to src/js/operations.js diff --git a/accountant-ui/js/scheduler.js b/src/js/scheduler.js similarity index 100% rename from accountant-ui/js/scheduler.js rename to src/js/scheduler.js diff --git a/accountant-ui/less/main.less b/src/less/main.less similarity index 100% rename from accountant-ui/less/main.less rename to src/less/main.less diff --git a/accountant-ui/views/account.form.tmpl.html b/src/views/account.form.tmpl.html similarity index 100% rename from accountant-ui/views/account.form.tmpl.html rename to src/views/account.form.tmpl.html diff --git a/accountant-ui/views/accounts.html b/src/views/accounts.html similarity index 100% rename from accountant-ui/views/accounts.html rename to src/views/accounts.html diff --git a/accountant-ui/views/login.tmpl.html b/src/views/login.tmpl.html similarity index 100% rename from accountant-ui/views/login.tmpl.html rename to src/views/login.tmpl.html diff --git a/accountant-ui/views/operation.form.tmpl.html b/src/views/operation.form.tmpl.html similarity index 100% rename from accountant-ui/views/operation.form.tmpl.html rename to src/views/operation.form.tmpl.html diff --git a/accountant-ui/views/operations.html b/src/views/operations.html similarity index 100% rename from accountant-ui/views/operations.html rename to src/views/operations.html diff --git a/accountant-ui/views/scheduler.html b/src/views/scheduler.html similarity index 100% rename from accountant-ui/views/scheduler.html rename to src/views/scheduler.html diff --git a/webpack.config.js b/webpack.config.js index 005c3c5..86a3c0e 100644 --- a/webpack.config.js +++ b/webpack.config.js @@ -3,7 +3,7 @@ const path = require('path'); const HtmlWebpackPlugin = require('html-webpack-plugin'); module.exports = { - context: path.resolve(__dirname, 'accountant-ui'), + context: path.resolve(__dirname, 'src'), entry: './js/app.js', devtool: 'source-map', module: { @@ -28,7 +28,7 @@ module.exports = { // Javascript enforce: 'pre', test: /\.jsx?$/, - include: path.resolve(__dirname, 'accountant-ui'), + //include: path.resolve(__dirname, 'src'), exclude: /(node_modules|bootstrap)/, loader: 'eslint-loader', options: { @@ -63,7 +63,7 @@ module.exports = { }, { test: /\.html$/, use: [ - 'ngtemplate-loader?relativeTo=/accountant-ui/accountant-ui', + 'ngtemplate-loader?relativeTo=/accountant-ui/src', 'html-loader' ] }, {