forked from bokub/linky
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
78 lines (78 loc) · 2.09 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
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
{
"name": "linky",
"description": "Easily retrieve your Linky power consumption",
"version": "2.0.2",
"author": "bokub",
"license": "GPL-3.0-or-later",
"exports": "./dist/lib/index.js",
"bin": {
"linky": "dist/bin/index.cjs"
},
"types": "dist/lib/index.d.ts",
"publishConfig": {
"access": "public"
},
"engines": {
"node": ">=16"
},
"type": "module",
"scripts": {
"test": "vitest run",
"coverage": "vitest run --coverage",
"generate-fixtures": "RECORDING=1 node --experimental-vm-modules --loader=ts-node/esm test/fixtures/generate.ts",
"prepare": "husky install",
"prepublishOnly": "npm run build",
"build": "rm -fr ./dist && tsc && cp cli.cjs ./dist/bin/index.cjs",
"lint": "npx prettier --check --ignore-path .gitignore . && npx eslint --ext ts,js ."
},
"prettier": "@bokub/prettier-config",
"dependencies": {
"axios": "^1.4.0",
"chalk": "^5.2.0",
"conf": "^11.0.1",
"dayjs": "^1.11.7",
"jsonwebtoken": "^9.0.0",
"meow": "^12.0.0",
"mkdirp": "^3.0.1",
"ora": "^6.3.0",
"qs": "^6.11.1",
"update-notifier": "^6.0.2"
},
"devDependencies": {
"@bokub/prettier-config": "^2.1.0",
"@types/jsonwebtoken": "^9.0.2",
"@types/qs": "^6.9.7",
"@types/update-notifier": "^6.0.2",
"@typescript-eslint/eslint-plugin": "^5.59.2",
"@typescript-eslint/parser": "^5.59.2",
"@vitest/coverage-v8": "^2.1.0",
"dotenv": "^16.0.3",
"eslint": "^7.32.0",
"eslint-config-prettier": "^8.8.0",
"eslint-plugin-prettier": "^4.2.1",
"execa": "^5.1.1",
"husky": "^8.0.3",
"lint-staged": "^13.2.2",
"nock": "^13.3.1",
"prettier": "^2.8.8",
"ts-node": "^10.9.1",
"typescript": "^5.0.4",
"vitest": "^2.1.0"
},
"repository": "https://github.com/bokub/linky",
"homepage": "https://github.com/bokub/linky",
"bugs": "https://github.com/bokub/linky/issues",
"keywords": [
"linky",
"enedis",
"datahub",
"power",
"api",
"cli",
"consumption"
],
"lint-staged": {
"*": "prettier --ignore-unknown --write",
"*.{ts,js}": "eslint --fix"
}
}