update rules of makefile, webpack, stylelintrc

pull/137/head
Simon Vieille 2 months ago
parent 1a550f066f
commit 1c1fe946cf
Signed by: deblan
GPG Key ID: 579388D585F70417
  1. 2
      .stylelintrc.json
  2. 10
      Makefile
  3. 4
      README.md
  4. 1
      webpack.js

@ -1,5 +1,5 @@
{
"rules": {
"indentation": 4
"indentation": 2
}
}

@ -1,11 +1,15 @@
npm-build:
build:
npm run build
npm-watch:
watch:
npm run watch
dep:
yarn
npm link @nextcloud/vue || sudo npm link @nextcloud/vue
.ONESHELL:
release: npm-build translations
release: build translations
if [ -z "$$VERSION" ]; then
echo "VERSION required"
exit 1

@ -56,9 +56,9 @@ If you are a developer:
* fork the repository
* install an instance of Nextcloud
* go to `apps/` and clone your repository
* go to `apps/side_menu` and run `npm install`
* go to `apps/side_menu` and run `make dep`
Build javascripts using `make npm-build` (or `make npm-watch` to build them in real time).
Build javascripts using `make build` (or `make watch` to build them in real time).
Then commit and create a pull request.

@ -3,6 +3,7 @@ const { VueLoaderPlugin } = require('vue-loader')
const StyleLintPlugin = require('stylelint-webpack-plugin')
module.exports = {
devtool: "source-map",
entry: {
'admin': path.join(__dirname, 'src', 'admin.js'),
'sideMenu': path.join(__dirname, 'src', 'SideMenu.js'),

Loading…
Cancel
Save