diff --git a/package.json b/package.json index 0b20106..e0ccf6f 100644 --- a/package.json +++ b/package.json @@ -81,7 +81,7 @@ "lint-staged": { "*.{js,jsx}": [ "pretty-quick --staged", - "eslint . --fix --max-warnings=0", + "eslint . --fix \"app/**/*.js\" --max-warnings=0", "git add" ] }, diff --git a/webpack/webpack.dev.js b/webpack/webpack.dev.js index a5c3ecf..c2c509b 100644 --- a/webpack/webpack.dev.js +++ b/webpack/webpack.dev.js @@ -43,16 +43,17 @@ module.exports = { modules: [ 'node_modules', 'app', - path.resolve(__dirname, '../', 'node_modules', 'wlan-cloud-ui-library', 'src'), + path.resolve(__dirname, '../', 'node_modules', '@tip-wlan', 'wlan-cloud-ui-library', 'src'), ], alias: { app: path.resolve(__dirname, '../', 'app'), react: path.resolve(__dirname, '../', 'node_modules', 'react'), 'react-router-dom': path.resolve('./node_modules/react-router-dom'), - 'wlan-cloud-ui-library': path.resolve( + '@tip-wlan/wlan-cloud-ui-library': path.resolve( __dirname, '../', 'node_modules', + '@tip-wlan', 'wlan-cloud-ui-library', 'src' ),