-
-
Notifications
You must be signed in to change notification settings - Fork 31
/
package.json
50 lines (50 loc) · 1.74 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
{
"name": "openhab",
"version": "5.8.0",
"description": "JavaScript Library for openHAB Automation",
"private": false,
"license": "EPL-2.0",
"main": "src/index.js",
"types": "types/openhab-js.d.ts",
"repository": {
"type": "git",
"url": "git://github.com/openhab/openhab-js.git"
},
"homepage": "https://www.openhab.org/addons/automation/jsscripting/",
"dependencies": {
"@js-joda/core": "^5.6.2",
"@js-joda/timezone": "^2.18.3",
"parse-duration": "^0.1.1"
},
"scripts": {
"lint": "npx eslint src",
"lint:fix": "npx eslint --fix src",
"pretest": "npm run lint",
"test:mocha": "mocha test/**/*.test.js",
"test:jest": "jest --config jest.config.js",
"test": "npm run test:mocha && npm run test:jest",
"types": "tsc --project ./build/tsconfig.json",
"types:test": "tsc --project ./build/tsconfig.test.json",
"webpack": "webpack -c build/webpack.config.js && webpack -c build/@globals-webpack.config.js",
"docs": "rm -Rf ./docs/* && jsdoc --configure build/jsdoc.conf.json",
"prebuild": "npm run test",
"build": "npm run webpack && npm run types && npm run types:test",
"postbuild": "npm run docs"
},
"devDependencies": {
"@types/jest": "^29.5.12",
"@types/node": "^20.11.5",
"docdash": "^2.0.2",
"eslint": "^8.56.0",
"eslint-config-standard": "^17.1.0",
"jest": "^29.7.0",
"jsdoc": "^4.0.2",
"jsdoc-tsimport-plugin": "^1.0.5",
"mocha": "^10.2.0",
"proxyquire": "^2.1.3",
"rewiremock": "^3.13.9",
"typescript": "^4.9.5",
"webpack": "^5.94.0",
"webpack-cli": "^5.1.4"
}
}