-
Notifications
You must be signed in to change notification settings - Fork 1
/
package.json
125 lines (125 loc) · 3.12 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
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
{
"name": "solarnetwork-api-core",
"version": "2.2.2",
"description": "SolarNetwork Core API",
"keywords": [
"solarnetwork"
],
"homepage": "https://github.com/SolarNetwork/sn-api-core-js",
"license": "Apache-2.0",
"author": {
"name": "SolarNetwork Foundation",
"email": "[email protected]"
},
"repository": {
"type": "git",
"url": "https://github.com/SolarNetwork/sn-api-core-js.git"
},
"type": "module",
"main": "lib/index.js",
"engines": {
"node": ">=17"
},
"files": [
"lib"
],
"sideEffects": false,
"ava": {
"files": [
"src/test/**/*Tests.ts"
],
"typescript": {
"rewritePaths": {
"src/": "build/"
},
"compile": "tsc"
}
},
"c8": {
"exclude": [
"src/test/**"
],
"exclude-after-remap": true,
"reporter": [
"text",
"html"
]
},
"config": {
"generateRelease": {
"no_confirm": false,
"remote": "origin",
"pre_commit_commands": [
"npm run prettier:write",
"npm run lint",
"npm run build",
"npm run build:dist",
"npm run build:bundle"
],
"post_commit_commands": [
"npm test"
],
"post_complete_commands": [
"npm publish",
"npmversion --increment prepatch --preid dev --nogit-tag"
],
"files_to_commit": [
"./lib/*"
]
}
},
"scripts": {
"build": "tsc",
"build:dist": "tsc --build tsconfig.dist.json",
"build:bundle": "rollup --config rollup.config.mjs --banner \"$(preamble)\" -m -o lib/solarnetwork-api-core.es.js",
"pretest": "npm run build",
"test": "c8 ava",
"coverage": "c8 --reporter=lcov ava",
"preapidoc": "npm run build",
"apidoc": "typedoc",
"release": "generate-release --current-version \"$(bin/remove-preid.cjs)\"",
"lint": "eslint --ext .ts --fix src/main",
"prettier": "prettier --config .prettierrc.json \"src/**/*.ts\" --check",
"prettier:write": "prettier --config .prettierrc.json \"src/**/*.ts\" --write"
},
"dependencies": {
"crypto-js": "^4.2.0",
"d3-array": "^3.2.4",
"d3-collection": "^1.0.7",
"d3-time-format": "^4.1.0",
"uri-js": "^4.4.1"
},
"devDependencies": {
"@ava/typescript": "^4.1.0",
"@rollup/plugin-typescript": "^11.1.5",
"@tsconfig/node17": "^17.1.1",
"@types/crypto-js": "^4.1.2",
"@types/d3-array": "^3.0.8",
"@types/d3-collection": "^1.0.11",
"@types/d3-time": "^3.0.1",
"@types/d3-time-format": "^4.0.1",
"@types/node": "^20.8.3",
"@typescript-eslint/eslint-plugin": "^6.7.2",
"@typescript-eslint/parser": "^6.7.2",
"ava": "^5.3.1",
"c8": "^8.0.1",
"eslint": "^8.49.0",
"eslint-config-prettier": "^9.0.0",
"eslint-plugin-prettier": "^5.0.0",
"generate-release": "^1.1.1",
"moment": "^2.29.4",
"npmversion": "^1.7.0",
"package-preamble": "^0.1.0",
"rollup": "^4.0.2",
"semver": "^7.5.4",
"tslib": "^2.6.2",
"typedoc": "^0.25.1",
"typescript": "^5.2.2"
},
"overrides": {
"json5": "2.2.3",
"lodash": "4.17.21",
"minimist": "1.2.8",
"semver": "$semver"
}
}