-
Notifications
You must be signed in to change notification settings - Fork 22
/
package.json
109 lines (109 loc) · 3.11 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
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
{
"name": "smashtest",
"version": "1.9.2",
"description": "smashtest",
"keywords": [
"smashtest",
"smashtestio",
"test",
"tests",
"testing",
"framework",
"automated",
"automation",
"browser",
"bdd",
"tdd",
"selenium",
"webdriver",
"webdriverjs",
"functional",
"integration",
"e2e",
"qa",
"ui",
"api",
"mocks",
"runner",
"ci",
"cd"
],
"homepage": "smashtest.io",
"repository": {
"type": "git",
"url": "https://github.com/smashtestio/smashtest.git"
},
"license": "MIT",
"author": "smashtest <smashtest.io>",
"type": "module",
"bin": {
"smashtest": "./dist/core/cli.js"
},
"files": [
"src/**",
"dist/**",
"start-server-and-test/bundle.js"
],
"scripts": {
"build": "tsc && npm run copy-assets && npm run build:ssat",
"build:ssat": "cd start-server-and-test && rm -rf node_modules; rm package-lock.json; npm i && npm run build",
"copy-assets": "rsync -am --include='*.smash' --include='*.html' --include='*/' --exclude='*' src/ dist",
"open-report": "open file://$(pwd)/smashtest/report.html",
"prepublishOnly": "npm run build && eslint . && npm run test:unit",
"test": "npm run test:unit && npm run test:browser:chrome",
"test:browser:chrome": "npm run build && node ./dist/core/cli.js tests/packages/*.smash --groups=chrome",
"test:browser:chrome:debug": "npm run test:browser:chrome -- --max-parallel=1 --headless=false",
"test:browser:chrome:debug:report": "(npm run open-report &) && npm run test:browser:chrome:debug",
"test:unit": "NODE_OPTIONS=\"${NODE_OPTIONS} --loader ts-node/esm\" nyc --reporter=lcov mocha tests/core/*.ts tests/packages/*.ts",
"typecheck": "tsc"
},
"dependencies": {
"@swc/core": "^1.3.0",
"chai": "^4.3.6",
"chai-as-promised": "^7.1.1",
"chalk": "^5.0.1",
"cli-progress": "^3.11.2",
"clipboardy": "^3.0.0",
"date-and-time": "^2.4.1",
"file-url": "^4.0.0",
"get-port": "^6.1.2",
"glob": "^8.0.3",
"jimp": "^0.16.1",
"lodash": "^4.17.21",
"md5": "^2.3.0",
"read-files-promise": "^1.1.1",
"request": "^2.88.0",
"selenium-webdriver": "^4.12.0",
"shell-quote": "^1.8.1",
"sinon": "^14.0.0",
"tiny-invariant": "^1.2.0",
"ts-node": "^10.9.1",
"typescript": "^5.1.3",
"ws": "^8.8.1"
},
"devDependencies": {
"@types/caseless": "^0.12.2",
"@types/chai": "^4.3.3",
"@types/cli-progress": "^3.11.0",
"@types/estree": "^1.0.1",
"@types/glob": "^8.0.0",
"@types/json-schema": "^7.0.12",
"@types/lodash": "^4.14.185",
"@types/mocha": "^9.1.1",
"@types/node": "^18.7.18",
"@types/request": "^2.48.8",
"@types/selenium-webdriver": "^4.1.5",
"@types/shell-quote": "^1.7.1",
"@types/sinon": "^10.0.13",
"@types/tough-cookie": "^4.0.2",
"@types/ws": "^8.5.4",
"@typescript-eslint/eslint-plugin": "^5.59.9",
"@typescript-eslint/parser": "^5.59.9",
"body-parser": "^1.20.0",
"cookie-parser": "^1.4.6",
"express": "^4.18.1",
"mocha": "^10.0.0",
"nyc": "^15.1.0",
"prettier-eslint": "^15.0.1"
}
}