This repository has been archived by the owner on Mar 21, 2021. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 33
/
Copy pathpackage.json
86 lines (86 loc) · 2.23 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
{
"name": "navalia",
"version": "1.3.0",
"description": "A browser automation manager with a consistent API",
"main": "build/index.js",
"types": "build/index.d.ts",
"bin": {
"navalia": "bin/navalia.js"
},
"scripts": {
"build": "npm run clean && tsc",
"clean": "rimraf build",
"cover": "jest --coverage",
"dev": "nodemon --watch 'src/**/*.ts' --ignore 'src/**/*.spec.ts' --exec 'ts-node' src/graphql/server.ts",
"docs": "cd docs && bundle exec jekyll serve",
"precommit": "lint-staged",
"prepublish": "npm run build",
"prepublishOnly": "npm test && npm run build",
"prettier": "prettier --single-quote --trailing-comma es5 --write \"src/**/*.ts\"",
"release": "np",
"start": "ts-node",
"test": "jest --testMatch=**/*.test.ts",
"test:unit": "jest --testMatch=\"**/__tests__/*.test.(ts|tsx|js)\"",
"test:watch": "npm test -- --watch"
},
"keywords": [
"chrome",
"headless",
"cluster",
"queue",
"navalia"
],
"author": "jgriffith",
"license": "LGPL-3.0",
"devDependencies": {
"@types/debug": "^0.0.30",
"@types/jest": "^22.1.2",
"@types/lodash": "^4.14.102",
"@types/node": "^9.4.6",
"husky": "^0.14.3",
"jest": "^22.3.0",
"lint-staged": "^6.1.0",
"nodemon": "^1.14.12",
"np": "^2.20.0",
"prettier": "^1.10.2",
"rimraf": "^2.6.2",
"ts-jest": "^22.0.4",
"typescript": "^2.7.1"
},
"dependencies": {
"axios": "^0.17.1",
"chrome-launcher": "^0.10.2",
"chrome-remote-interface": "^0.25.5",
"debug": "3.1.0",
"express": "^4.16.2",
"express-graphql": "^0.6.11",
"graphql": "^0.13.0",
"lodash": "^4.17.5",
"ts-node": "^4.1.0",
"yargs": "^11.0.0"
},
"repository": {
"type": "git",
"url": "https://github.com/joelgriffith/navalia.git"
},
"bugs": "https://github.com/joelgriffith/navalia/issues",
"jest": {
"testEnvironment": "node",
"moduleFileExtensions": [
"ts",
"js"
],
"transform": {
".(ts|tsx)": "<rootDir>/node_modules/ts-jest/preprocessor.js"
},
"transformIgnorePatterns": [
"<rootDir>/node_modules/(?!chrome-launcher)"
]
},
"lint-staged": {
"*.ts": [
"npm run prettier",
"git add"
]
}
}