-
-
Notifications
You must be signed in to change notification settings - Fork 2
/
package.json
102 lines (102 loc) · 3.26 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
{
"name": "@serenity-js/serenity-js-playwright-ct-react-template",
"version": "1.0.0",
"description": "",
"type": "module",
"sideEffects": [
"*.css"
],
"main": "./dist/cjs/index.js",
"module": "./dist/esm/index.js",
"source": "./src/index.ts",
"types": "./dist/cjs/index.d.ts",
"exports": {
".": {
"import": "./dist/esm/index.js",
"require": "./dist/cjs/index.js"
},
"./serenity": {
"import": "./dist/esm/serenity.js",
"require": "./dist/cjs/serenity.js"
},
"./dist/style.css": "./dist/style.css"
},
"scripts": {
"clean": "rimraf dist target",
"build": "npm run build:js && npm run build:css",
"build:js": "npm run build:js:esm && npm run build:js:cjs && npm run build:js:cjs-package",
"build:js:esm": "tsc --project tsconfig.build.json --outDir dist/esm --module esnext",
"build:js:cjs": "tsc --project tsconfig.build.json --outDir dist/cjs --module commonjs",
"build:js:cjs-package": "node -e \"require('fs').writeFileSync('dist/cjs/package.json', '{ \\\"type\\\": \\\"commonjs\\\" }')\"",
"build:css": "cpy 'src/**/*.css' dist",
"test": "failsafe clean test:execute test:report",
"test:execute": "playwright test -c playwright-ct.config.ts",
"test:report": "serenity-bdd run --features ./src",
"start": "mkdirp target/site/serenity && npx http-server -p 8080 target/site/serenity -s -o",
"lint": "eslint --ext ts --config .eslintrc.cjs .",
"lint:fix": "npm run lint -- --fix"
},
"repository": {
"type": "git",
"url": "git+https://github.com/serenity-js/serenity-js-playwright-ct-react-template.git"
},
"keywords": [
"serenity-js",
"bdd",
"playwright",
"playwright-ct"
],
"author": {
"name": "Jan Molak",
"email": "[email protected]",
"url": "https://janmolak.com"
},
"homepage": "https://serenity-js.org",
"license": "Apache-2.0",
"bugs": {
"url": "https://github.com/serenity-js/serenity-js-playwright-ct-react-template/issues"
},
"engines": {
"node": "^18.12 || ^20 || ^22"
},
"peerDependencies": {
"@types/react": "^16.8.0 || ^17.0.0 || ^18.0.0",
"react": "^16.8.0 || ^17.0.0 || ^18.0.0",
"react-dom": "^16.8.0 || ^17.0.0 || ^18.0.0"
},
"peerDependenciesMeta": {
"@types/react": {
"optional": true
}
},
"devDependencies": {
"@playwright/experimental-ct-react": "1.49.1",
"@serenity-js/assertions": "^3.31.2",
"@serenity-js/console-reporter": "^3.31.2",
"@serenity-js/core": "^3.31.2",
"@serenity-js/playwright": "^3.31.2",
"@serenity-js/playwright-test": "^3.31.2",
"@serenity-js/rest": "^3.31.2",
"@serenity-js/serenity-bdd": "^3.31.2",
"@serenity-js/web": "^3.31.2",
"@typescript-eslint/eslint-plugin": "^8.18.2",
"@typescript-eslint/parser": "^8.18.2",
"cpy-cli": "^5.0.0",
"eslint": "^9.17.0",
"eslint-plugin-import": "^2.31.0",
"eslint-plugin-simple-import-sort": "^12.1.1",
"eslint-plugin-unicorn": "^56.0.1",
"eslint-plugin-unused-imports": "^4.1.4",
"http-server": "^14.1.1",
"mkdirp": "^3.0.1",
"npm-failsafe": "^1.3.0",
"react": "^18.3.1",
"react-dom": "^18.3.1",
"rimraf": "^6.0.1",
"ts-node": "^10.9.2",
"typescript": "^5.7.2"
},
"dependencies": {
"clsx": "^2.1.1"
}
}