-
-
Notifications
You must be signed in to change notification settings - Fork 12
/
package.json
85 lines (85 loc) · 2.52 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
{
"name": "browser-as-a-service",
"description": "A web browser hosted as a service, to render your JavaScript web pages as HTML",
"version": "0.0.0",
"engines": {
"node": ">= 10.11"
},
"author": "Hugo Freire <[email protected]>",
"license": "MIT",
"repository": {
"type": "git",
"url": "git+https://github.com/hfreire/browser-as-a-service.git"
},
"bugs": {
"url": "https://github.com/hfreire/browser-as-a-service/issues"
},
"homepage": "https://github.com/hfreire/browser-as-a-service#readme",
"dependencies": {
"health-checkup": "1.0.44",
"lodash": "4.17.20",
"modern-logger": "1.5.83",
"puppeteer-core": "5.5.0",
"random-http-useragent": "1.1.32",
"serverful": "1.4.89"
},
"devDependencies": {
"eslint": "6.8.0",
"eslint-config-hfreire": "3.0.58",
"jest": "26.6.3",
"npm-merge-driver": "2.3.6",
"pre-git": "3.17.1",
"prettier": "2.2.1",
"semantic-release": "17.3.7",
"snyk": "1.439.3"
},
"config": {
"pre-git": {
"commit-msg": "conventional",
"allow-untracked-files": true
}
},
"snyk": true,
"jest": {
"testEnvironment": "node",
"setupTestFrameworkScriptFile": "./test/helper.js",
"testMatch": [
"<rootDir>/test/**/*.js"
],
"testPathIgnorePatterns": [
"/node_modules/",
"./test/helper.js"
],
"collectCoverage": true,
"collectCoverageFrom": [
"src/**/*.js"
]
},
"release": {
"publish": [
{
"path": "@semantic-release/npm",
"npmPublish": false
},
"@semantic-release/github"
]
},
"scripts": {
"eslint": "./node_modules/.bin/eslint --ext .json --ext .js .",
"jest": "./node_modules/.bin/jest",
"snyk:test": "./node_modules/.bin/snyk test",
"snyk:protect": "./node_modules/.bin/snyk protect",
"docker:build": "DOCKER_REPO=hfreire NAME=$npm_package_name ./share/docker/scripts/build",
"docker:push": "DOCKER_REPO=hfreire NAME=$npm_package_name ./share/docker/scripts/push",
"docker:test": "DOCKER_REPO=hfreire NAME=$npm_package_name ./share/docker/scripts/test",
"terraform:deploy": "DOCKER_REPO=hfreire NAME=$npm_package_name ./share/terraform/scripts/deploy",
"semantic-release": "./node_modules/.bin/semantic-release",
"clean": "rm -rf coverage",
"lint": "npm run eslint",
"prepare": "npm run snyk:protect",
"test": "npm run clean && npm run lint && npm run jest",
"commit": "./node_modules/.bin/commit-wizard",
"deploy": "npm run terraform:deploy",
"start": "node src/app.js"
}
}