-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
55 lines (55 loc) · 1.69 KB
/
package.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
{
"name": "@trovster/fitness-visualisations",
"version": "1.0.1",
"description": "Two Web Components for fitness visualisations.",
"keywords": [
"fitness",
"visualisations",
"web component"
],
"homepage": "https://trovster.github.io/fitness-visualisations/",
"repository": {
"type": "git",
"url": "git+https://github.com/trovster/fitness-visualisations.git"
},
"bugs": {
"url": "https://github.com/trovster/fitness-visualisations/issues"
},
"main": "src/FitnessCard.js",
"type": "module",
"license": "MIT",
"author": {
"name": "Trevor Morris",
"url": "https://www.trovster.com"
},
"scripts": {
"start": "web-dev-server",
"build": "npm run copy && npm run path",
"path": "shx sed -i \"s/import '..\\/src\\//import '.\\//g\" ./docs/index.html",
"copy": "node -e \"const fs = require('fs'); fs.copyFile('./src/FitnessRing.js', './docs/FitnessRing.js', function () {}); fs.copyFile('./src/FitnessCard.js', './docs/FitnessCard.js', function () {});\"",
"lint": "eslint --ext .js,.html . --ignore-path .gitignore && prettier \"**/*.js\" --check --ignore-path .gitignore",
"format": "eslint --ext .js,.html . --fix --ignore-path .gitignore && prettier \"**/*.js\" --write --ignore-path .gitignore"
},
"devDependencies": {
"@open-wc/eslint-config": "^9.2.1",
"@web/dev-server": "^0.1.34",
"eslint": "^8.31.0",
"eslint-config-prettier": "^8.3.0",
"prettier": "^2.4.1",
"shx": "^0.3.4"
},
"eslintConfig": {
"extends": [
"@open-wc",
"prettier"
],
"rules": {
"class-methods-use-this": 0,
"no-void": 0
}
},
"prettier": {
"singleQuote": true,
"arrowParens": "avoid"
}
}