forked from g-plane/rize
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
91 lines (91 loc) · 2.25 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
{
"name": "rize",
"version": "0.8.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": {
"prepare": "yarn build",
"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.0.0",
"@types/jest": "^22.2.0",
"@types/node": "^12.0.4",
"@types/puppeteer": "^2.0.0",
"@types/puppeteer-core": "^2.0.0",
"codecov": "^3.5.0",
"jest": "^24.8.0",
"portfinder": "^1.0.20",
"puppeteer": "^2.0.0",
"puppeteer-core": "^2.0.0",
"rimraf": "^2.6.3",
"ts-jest": "^24.0.2",
"typedoc": "^0.14.2",
"typescript": "^3.4.3",
"vuepress": "^1.0.2"
},
"peerDependencies": {
"puppeteer": "^2.0.0",
"puppeteer-core": "^2.0.0"
}
}