-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathpackage.json
74 lines (74 loc) · 2.02 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
{
"name": "mdc-web-aurelia2",
"description": "An Aurelia 2 client application.",
"version": "0.1.0",
"repository": {
"type": "git",
"url": "???"
},
"license": "UNLICENSED",
"dependencies": {
"aurelia": "latest",
"aurelia-mdui": "^0.0.2",
"mdui": "^2.1.1"
},
"devDependencies": {
"@aurelia/testing": "latest",
"@aurelia/ts-jest": "latest",
"@aurelia/webpack-loader": "latest",
"@types/jest": "^29.2.4",
"@types/node": "^18.11.18",
"@typescript-eslint/eslint-plugin": "^5.47.1",
"@typescript-eslint/parser": "^5.47.1",
"autoprefixer": "^10.4.13",
"css-loader": "^6.7.3",
"dotenv-webpack": "^8.0.1",
"eslint": "^8.30.0",
"html-webpack-plugin": "^5.5.0",
"htmlhint": "^1.1.4",
"jest": "^29.3.1",
"jest-environment-jsdom": "^29.3.1",
"jest-transform-stub": "^2.0.0",
"postcss": "^8.4.20",
"postcss-loader": "^7.0.2",
"rimraf": "^3.0.2",
"style-loader": "^3.3.1",
"ts-loader": "^9.4.2",
"tslib": "^2.4.1",
"typescript": "^4.9.4",
"webpack": "5.76.0",
"webpack-bundle-analyzer": "^4.7.0",
"webpack-cli": "^5.0.1",
"webpack-dev-server": "^4.11.1"
},
"scripts": {
"lint:js": "eslint src test --ext .js,.ts",
"lint:html": "htmlhint -c .htmlhintrc src",
"lint": "npm run lint:js && npm run lint:html",
"pretest": "npm run lint",
"start": "webpack serve",
"build": "rimraf dist && webpack --env production",
"analyze": "rimraf dist && webpack --env production --analyze",
"test": "jest"
},
"jest": {
"testMatch": [
"<rootDir>/test/**/*.spec.ts"
],
"testEnvironment": "jsdom",
"transform": {
"\\.(css|less|sass|scss|styl|jpg|jpeg|png|gif|eot|otf|webp|svg|ttf|woff|woff2|mp4|webm|wav|mp3|m4a|aac|oga)$": "jest-transform-stub",
"\\.(ts|html)$": "@aurelia/ts-jest"
},
"collectCoverage": true,
"collectCoverageFrom": [
"src/**/*.ts",
"!src/**/*.d.ts"
],
"globals": {
"ts-jest": {
"isolatedModules": true
}
}
}
}