-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
69 lines (69 loc) · 2.35 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
{
"name": "@rksan/mock-media-devices",
"description": "WebAPI window.navigator.mediaDevices のモック",
"version": "0.0.2",
"main": "dist/index.js",
"types": "types-defines/",
"publishConfig": {
"access": "public"
},
"scripts": {
"tsc:init": "tsc --init",
"preunit": "rm -rf .nyc_output && rm -rf tsconfig.tsnode.json && tsc -p ./tsconfig.json --showConfig > tsconfig.tsnode.json",
"unit": "nyc ts-mocha --paths -p ./tsconfig.tsnode.json test/unit/**/*.spec.ts",
"inte": "ts-mocha --paths -p ./tsconfig.tsnode.json test/inte/**/*.spec.ts",
"test": "npm run unit",
"precoverage": "rm -rf coverage && mkdir coverage",
"coverage": "npm run test && nyc report --reporter=lcovonly",
"prebuild:ts": "rm -rf dist && rm -rf types-defines",
"build:ts": "tsc -p ./tsconfig.build.json && tsc-alias -p ./tsconfig.build.json",
"build": "npm run build:ts",
"lint": "eslint . --ignore-path .gitignore --ignore-path .eslintignore",
"lint:fix": "npm run lint -- --fix",
"upgrade:local": "npm uninstall @rksan/mock-media-devices && npm install -D rksan-mock-media-devices-0.0.1.tgz"
},
"repository": {
"type": "git",
"url": "git+https://github.com/rksan/mock-mediaDevices.git"
},
"keywords": [
"WebAPI",
"mediaDevices",
"mock",
"unit"
],
"author": "rksan",
"license": "MIT",
"bugs": {
"url": "https://github.com/rksan/mock-mediaDevices/issues"
},
"homepage": "https://github.com/rksan/mock-mediaDevices#readme",
"devDependencies": {
"@babel/core": "^7.22.11",
"@babel/eslint-parser": "^7.22.11",
"@babel/preset-env": "^7.22.10",
"@istanbuljs/nyc-config-typescript": "^1.0.2",
"@types/chai": "^4.3.5",
"@types/eslint": "^8.44.2",
"@types/mocha": "^10.0.1",
"@types/prettier": "^3.0.0",
"@typescript-eslint/eslint-plugin": "^6.5.0",
"@typescript-eslint/parser": "^6.5.0",
"app-root-path": "^3.1.0",
"chai": "^4.3.8",
"eslint": "^8.48.0",
"eslint-config-prettier": "^9.0.0",
"eslint-plugin-jsonc": "^2.9.0",
"eslint-plugin-prettier": "^5.0.0",
"jsonc-eslint-parser": "^2.3.0",
"mocha": "^10.2.0",
"nyc": "^15.1.0",
"prettier": "^3.0.3",
"source-map-support": "^0.5.21",
"ts-mocha": "^10.0.0",
"ts-node": "^10.9.1",
"tsc-alias": "^1.8.7",
"tsconfig-paths": "^4.2.0",
"typescript": "^5.2.2"
}
}