mirror of
https://github.com/He4eT/elseifplayer.git
synced 2026-05-04 17:07:22 +00:00
Add preact, wouter and eslint
This commit is contained in:
parent
dd4ce350a8
commit
66690ed4e0
3 changed files with 2426 additions and 169 deletions
21
.eslintrc.js
Normal file
21
.eslintrc.js
Normal file
|
|
@ -0,0 +1,21 @@
|
||||||
|
module.exports = {
|
||||||
|
env: {
|
||||||
|
browser: true,
|
||||||
|
es2021: true
|
||||||
|
},
|
||||||
|
extends: [
|
||||||
|
'standard',
|
||||||
|
'standard-preact'
|
||||||
|
],
|
||||||
|
parserOptions: {
|
||||||
|
ecmaVersion: 12,
|
||||||
|
sourceType: 'module'
|
||||||
|
},
|
||||||
|
rules: {
|
||||||
|
},
|
||||||
|
settings: {
|
||||||
|
react: {
|
||||||
|
version: 'latest',
|
||||||
|
},
|
||||||
|
}
|
||||||
|
}
|
||||||
2551
package-lock.json
generated
2551
package-lock.json
generated
File diff suppressed because it is too large
Load diff
13
package.json
13
package.json
|
|
@ -5,11 +5,22 @@
|
||||||
"main": "index.js",
|
"main": "index.js",
|
||||||
"scripts": {
|
"scripts": {
|
||||||
"dev": "parcel index.html",
|
"dev": "parcel index.html",
|
||||||
"build": "parcel build index.html"
|
"build": "parcel build index.html",
|
||||||
|
"lint": "eslint --fix src"
|
||||||
},
|
},
|
||||||
"author": "He4eT",
|
"author": "He4eT",
|
||||||
"license": "MIT",
|
"license": "MIT",
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
|
"eslint": "^7.20.0",
|
||||||
|
"eslint-config-standard": "^16.0.2",
|
||||||
|
"eslint-config-standard-preact": "^1.1.6",
|
||||||
|
"eslint-plugin-import": "^2.22.1",
|
||||||
|
"eslint-plugin-node": "^11.1.0",
|
||||||
|
"eslint-plugin-promise": "^4.3.1",
|
||||||
"parcel-bundler": "^1.12.4"
|
"parcel-bundler": "^1.12.4"
|
||||||
|
},
|
||||||
|
"dependencies": {
|
||||||
|
"preact": "^10.5.12",
|
||||||
|
"wouter-preact": "^2.7.3"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue