-
Notifications
You must be signed in to change notification settings - Fork 8
/
package.json
76 lines (76 loc) · 2.79 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
{
"name": "raspi-bot",
"version": "1.0.0",
"description": "A Raspberry Pi robot.",
"main": "./dist/index.js",
"scripts": {
"spelling": "cspell **/*.ts **/*.py **/*.md",
"spelling:md": "cspell **/*.md",
"spelling:ts": "cspell **/*.ts",
"spelling:py": "cspell **/*.py",
"lint": "eslint ./rpi_bot ./test README.md --ext .ts,.tsx,.md && flake8 --count --statistics",
"lint:fix": "eslint ./rpi_bot ./test README.md --fix --ext .ts,.tsx,.md",
"transpile": "tsc",
"build": "npm run lint && tsc",
"build:test": "tsc && npm run test",
"test": "npm run lint && npm run test:coverage",
"test:py": "python3 -m unittest discover -s test",
"test:py:coverage": "coverage run --source=rpi_bot -m unittest discover -s test && coverage report && coverage html && coverage xml",
"test:ts:coverage": "cross-env NODE_ENV=test nyc --reporter=html --reporter=text --reporter=lcovonly mocha",
"test:ts:coverage:debug": "cross-env NODE_ENV=test nyc --reporter=html --reporter=text --reporter=lcovonly mocha -d",
"test:ts:coverage:verbose": "cross-env NODE_ENV=test nyc --reporter=html --reporter=text --reporter=lcovonly mocha --verbose",
"test:ci": "npm run lint && npm run test:py:coverage && npm run test:ts:coverage",
"test:unit": "cross-env NODE_ENV=test mocha",
"test:coverage": "npm run test:py:coverage && npm run test:ts:coverage",
"test:all": "npm run lint && npm run test:coverage && npm run spelling",
"start": "node ./dist/index.js",
"start:dev": "ts-node ./rpi_bot/index.ts",
"start:mock": "cross-env NODE_ENV=test ts-node ./rpi_bot/index.ts"
},
"engines": {
"node": "14"
},
"repository": {
"type": "git",
"url": "git+https://github.com/ChristopherBull/raspi-bot.git"
},
"keywords": [
"Raspberry",
"Pi",
"Node",
"Robot"
],
"author": "Christopher Bull",
"license": "GPL-3.0",
"bugs": {
"url": "https://github.com/ChristopherBull/raspi-bot/issues"
},
"homepage": "https://github.com/ChristopherBull/raspi-bot#readme",
"devDependencies": {
"@istanbuljs/nyc-config-typescript": "~1.0.1",
"@types/chai": "~4.2.12",
"@types/mocha": "~8.2.2",
"@types/node": "~15.0.1",
"@typescript-eslint/eslint-plugin": "~4.22.1",
"@typescript-eslint/parser": "~4.22.1",
"chai": "~4.3.4",
"cross-env": "^7.0.2",
"cspell": "^5.3.12",
"eslint": "~7.25.0",
"eslint-config-prettier": "~8.3.0",
"eslint-plugin-chai-expect": "~2.2.0",
"eslint-plugin-jsdoc": "~33.0.0",
"eslint-plugin-markdown": "~2.2.0",
"eslint-plugin-mocha": "~8.1.0",
"eslint-plugin-prettier": "~3.4.0",
"mocha": "~8.3.2",
"nyc": "~15.1.0",
"prettier": "~2.2.1",
"ts-node": "~9.1.1",
"typescript": "~4.2.4"
},
"dependencies": {
"onoff": "6.0.3",
"winston": "^3.3.3"
}
}