mirror of
https://github.com/Ocelot-Social-Community/Ocelot-Social.git
synced 2026-01-20 20:01:25 +00:00
Stop fixing issues
This commit is contained in:
parent
f97029dc07
commit
8d759834e1
@ -3,7 +3,11 @@ module.exports = {
|
||||
env: {
|
||||
node: true
|
||||
},
|
||||
extends: ['plugin:vue/strongly-recommended', '@vue/prettier'],
|
||||
"extends": [
|
||||
'plugin:vue/strongly-recommended',
|
||||
'plugin:prettier/recommended',
|
||||
'eslint:recommended'
|
||||
],
|
||||
rules: {
|
||||
'no-console': process.env.NODE_ENV === 'production' ? 'error' : 'off',
|
||||
'no-debugger': process.env.NODE_ENV === 'production' ? 'error' : 'off'
|
||||
|
||||
16110
package-lock.json
generated
Normal file
16110
package-lock.json
generated
Normal file
File diff suppressed because it is too large
Load Diff
10
package.json
10
package.json
@ -4,13 +4,13 @@
|
||||
"private": true,
|
||||
"scripts": {
|
||||
"serve": "http-server ./docs -o -s",
|
||||
"build": "yarn theo && vue-cli-service build",
|
||||
"build": "yarn theo && vue-cli-service build --no-fix",
|
||||
"lint": "vue-cli-service lint --no-fix",
|
||||
"dev": "npm-run-all --parallel theo:onchange theo servedev",
|
||||
"servedev": "vue-cli-service serve --open",
|
||||
"build:lib": "yarn theo && cross-env BUILD=library vue-cli-service build --target lib --name system ./src/library.js",
|
||||
"theo": "theo ./src/system/tokens/tokens.yml --no-fix --transform web --format map.scss,scss,raw.json,json --dest ./src/system/tokens/generated",
|
||||
"theo:onchange": "onchange \"./src/system/tokens/*.yml\" -- npm run theo --no-fix",
|
||||
"servedev": "vue-cli-service serve --open --no-fix",
|
||||
"build:lib": "yarn theo && cross-env BUILD=library vue-cli-service build --target lib --name system ./src/library.js --no-fix",
|
||||
"theo": "theo ./src/system/tokens/tokens.yml --transform web --format map.scss,scss,raw.json,json --dest ./src/system/tokens/generated",
|
||||
"theo:onchange": "onchange \"./src/system/tokens/*.yml\" -- npm run theo",
|
||||
"test:unit": "vue-cli-service test:unit"
|
||||
},
|
||||
"dependencies": {
|
||||
|
||||
@ -6,13 +6,15 @@ module.exports = {
|
||||
outputDir: process.env.BUILD === 'library'
|
||||
? path.resolve(__dirname, "./dist")
|
||||
: path.resolve(__dirname, "./docs"),
|
||||
|
||||
css: {
|
||||
loaderOptions: {
|
||||
sass: {
|
||||
data: `@import "@@/styles/shared.scss";`
|
||||
data: '@import "@@/styles/shared.scss";'
|
||||
}
|
||||
}
|
||||
},
|
||||
|
||||
configureWebpack: {
|
||||
devServer: {
|
||||
historyApiFallback: true
|
||||
@ -50,6 +52,7 @@ module.exports = {
|
||||
]
|
||||
: []
|
||||
},
|
||||
|
||||
chainWebpack: config => {
|
||||
config.module
|
||||
.rule('eslint')
|
||||
@ -75,5 +78,8 @@ module.exports = {
|
||||
]
|
||||
}
|
||||
})
|
||||
}
|
||||
},
|
||||
|
||||
productionSourceMap: false,
|
||||
lintOnSave: false
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user