-
Notifications
You must be signed in to change notification settings - Fork 44
/
Copy pathpackage.json
85 lines (85 loc) · 2.87 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": "saucelabs",
"version": "8.0.0",
"author": "Sauce Labs, Inc.",
"description": "A wrapper around Sauce Labs REST API",
"homepage": "https://github.com/saucelabs/node-saucelabs",
"license": "Apache-2.0",
"repository": {
"type": "git",
"url": "git://github.com/saucelabs/node-saucelabs.git"
},
"main": "./build/index",
"bin": {
"sl": "./bin/sl"
},
"typings": "./build/index.d.ts",
"scripts": {
"build": "run-s clean compile generate:typings",
"clean": "rm -rf ./build ./coverage",
"compile": "babel src -d build",
"generate:docs": "babel-node ./scripts/generate-docs",
"generate:typings": "babel-node ./scripts/generate-typings",
"prepublishOnly": "NODE_ENV=production run-s build generate:typings",
"release": "release-it --github.release",
"release:ci": "npm run release -- --ci --npm.skipChecks --no-git.requireCleanWorkingDir",
"release:patch": "npm run release -- patch",
"release:minor": "npm run release -- minor",
"release:major": "npm run release -- major",
"test": "run-s build test:*",
"test:lint": "eslint -c ./.eslintrc.js ./src/**/*.js ./tests/**/*.js",
"test:typings": "run-s test:typings:*",
"test:typings:setup": "mkdir -p ./tests/typings/node_modules/saucelabs && cp ./package.json ./tests/typings/node_modules/saucelabs && cp -r ./build ./tests/typings/node_modules/saucelabs",
"test:typings:run": "cd ./tests/typings && tsc --incremental",
"test:typings:cleanup": "rm -r ./tests/typings/node_modules",
"test:unit": "jest --config ./jest.config.js",
"test:e2e": "jest e2e --collectCoverage=false --testMatch \"<rootDir>/e2e/**/*.test.js\" --testPathIgnorePatterns \"<rootDir>/tests\"",
"watch": "npm run compile -- --watch",
"prepare": "husky install",
"lint-staged": "lint-staged"
},
"dependencies": {
"change-case": "^4.1.2",
"compressing": "^1.10.0",
"form-data": "^4.0.0",
"got": "^11.8.6",
"hash.js": "^1.1.7",
"query-string": "^7.1.3",
"tunnel": "^0.0.6",
"yargs": "^17.2.1"
},
"devDependencies": {
"@babel/cli": "^7.22.10",
"@babel/core": "^7.22.15",
"@babel/node": "^7.22.10",
"@babel/preset-env": "^7.22.15",
"@babel/register": "^7.15.3",
"babel-plugin-source-map-support": "^2.2.0",
"eslint": "^8.48.0",
"eslint-config-prettier": "^9.0.0",
"eslint-plugin-import": "^2.28.1",
"husky": "^8.0.3",
"jest": "^29.6.4",
"lint-staged": "^15.0.2",
"npm-run-all": "^4.1.5",
"prettier": "^2.6.2",
"release-it": "^16.1.5",
"rimraf": "^5.0.1",
"source-map-support": "^0.5.20",
"swagger-typescript-codegen": "^3.2.4",
"typescript": "^4.4.4"
},
"lint-staged": {
"*.js": [
"eslint --fix",
"prettier --write"
],
"*.{json,md,yml,ts}": [
"prettier --write"
]
},
"prettier": {
"bracketSpacing": false,
"singleQuote": true
}
}