-
Notifications
You must be signed in to change notification settings - Fork 14
/
package.json
87 lines (87 loc) · 2.13 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
{
"name": "rize",
"version": "0.9.0",
"description": "High-level, fluent and chainable API provided library for puppeteer.",
"author": "Pig Fang <[email protected]>",
"repository": "g-plane/rize",
"homepage": "https://rize.js.org/",
"bugs": {
"url": "https://github.com/g-plane/rize/issues/new"
},
"license": "MIT",
"keywords": [
"rize",
"puppeteer",
"test",
"testing",
"e2e",
"chrome",
"googlechrome",
"chainable",
"fluent",
"jest",
"mocha",
"ava"
],
"main": "dist/index.js",
"private": false,
"scripts": {
"prebuild": "rimraf dist",
"build": "tsc -p .",
"build:docs": "yarn docs:guide && yarn docs:api",
"docs:api": "typedoc --excludeExternals --excludePrivate --excludeProtected --name \"Rize API Documentation\" --theme minimal --out ./docs/dist/api ./src/index.ts",
"docs:guide": "vuepress build docs",
"test": "jest --maxWorkers=1",
"coverage": "jest --coverage --maxWorkers=1",
"prepublishOnly": "yarn build"
},
"engines": {
"node": ">=6.4.0"
},
"jest": {
"verbose": true,
"preset": "ts-jest",
"moduleNameMapper": {
"^rize$": "<rootDir>/src/index.ts",
"^rize/(.*)$": "<rootDir>/src/$1.ts"
},
"setupFiles": [
"<rootDir>/tests/tools/setup.ts"
],
"testEnvironment": "node",
"moduleFileExtensions": [
"ts",
"js",
"json",
"node"
],
"testRegex": "(/tests/.*|(\\.|/)(test|spec))\\.ts$",
"testPathIgnorePatterns": [
"/node_modules/",
"<rootDir>/tests/tools"
],
"coveragePathIgnorePatterns": [
"/node_modules/",
"<rootDir>/src/index.ts",
"<rootDir>/src/infrastructure.ts"
]
},
"devDependencies": {
"@gplane/tsconfig": "^1.1.0",
"@types/jest": "^25.2.3",
"@types/node": "^12.0.4",
"@types/puppeteer": "^1.10.1",
"codecov": "^3.7.0",
"jest": "^26.0.1",
"portfinder": "^1.0.26",
"puppeteer": "^3.1.0",
"rimraf": "^3.0.2",
"ts-jest": "^26.0.0",
"typedoc": "^0.17.7",
"typescript": "^3.9.3",
"vuepress": "^1.5.0"
},
"peerDependencies": {
"puppeteer": "^3.1.0"
}
}