-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
91 lines (91 loc) · 2.74 KB
/
package.json
File metadata and controls
91 lines (91 loc) · 2.74 KB
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
{
"name": "technical-test",
"version": "1.1.0",
"description": "",
"main": "index.js",
"scripts": {
"prepare": "husky install",
"start": "webpack serve --config=webpack.dev.js",
"build": "webpack --config=webpack.prod.js",
"test": "jest --coverage --passWithNoTests",
"lint": "semistandard --fix",
"cy:open": "cypress open",
"cy:test": "cypress run",
"test:ci": "npm run clean:cov && npm run instrumented && start-server-and-test start http-get://localhost:8081 cy:test && npm run report:cy:cov",
"instrumented": "nyc instrument --compact=false src instrumented",
"clean:cov": "rm -rf coverage cypress-coverage .nyc_output instrumented",
"report:cy:cov": "istanbul report --include cypress-coverage/coverage.json --dir cypress-coverage lcov html text",
"cov:merge": "istanbul-merge --out coverage.json coverage/coveragefinal.json cypress-coverage/coverage-final.json",
"report:cov": "istanbul report --include coverage.json --dir coverage lcov html text",
"test:all": "npm run clean:cov && npm run test && npm run test:ci && npm run cov:merge && npm run report:cov"
},
"commitlint": {
"extends": "@commitlint/config-conventional"
},
"semistandard": {
"globals": [
"describe",
"context",
"before",
"beforeEach",
"after",
"afterEach",
"it",
"expect"
]
},
"jest": {
"transform": {
"^.+\\.[t|j]sx?$": "babel-jest"
}
},
"browserslist": [
"defaults",
"not IE 11"
],
"nyc": {
"report-dir": "cypress-coverage",
"exclude": [
"instrumented/**"
]
},
"keywords": [],
"author": "",
"license": "ISC",
"dependencies": {
"@vaadin/router": "^1.7.4",
"axios": "^0.27.2",
"lit": "^2.2.3",
"lorellana-navbar": "^1.0.0"
},
"devDependencies": {
"@babel/core": "^7.17.10",
"@babel/plugin-proposal-class-properties": "^7.16.7",
"@babel/preset-env": "^7.17.10",
"@commitlint/cli": "^16.2.4",
"@commitlint/config-conventional": "^16.2.4",
"@cypress/code-coverage": "^3.9.12",
"@testing-library/cypress": "^8.0.2",
"@testing-library/dom": "^8.13.0",
"babel-jest": "^28.0.3",
"babel-loader": "^8.2.5",
"babel-plugin-transform-class-properties": "^6.24.1",
"css-loader": "^6.7.1",
"cypress": "^9.6.1",
"file-loader": "^6.2.0",
"html-loader": "^3.1.0",
"html-webpack-plugin": "^5.5.0",
"husky": "^7.0.4",
"istanbul": "^0.4.5",
"istanbul-merge": "^1.1.1",
"jest": "^28.0.3",
"mini-css-extract-plugin": "^2.6.0",
"semistandard": "^16.0.1",
"start-server-and-test": "^1.14.0",
"style-loader": "^3.3.1",
"webpack": "^5.72.0",
"webpack-cli": "^4.9.2",
"webpack-dev-server": "^4.8.1",
"webpack-merge": "^5.8.0"
}
}