-
Notifications
You must be signed in to change notification settings - Fork 7
Expand file tree
/
Copy pathpackage.json
More file actions
71 lines (71 loc) · 2.23 KB
/
package.json
File metadata and controls
71 lines (71 loc) · 2.23 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
{
"name": "labkey-core",
"version": "0.0.0",
"scripts": {
"setup": "npm ci --legacy-peer-deps",
"build": "npm run build-dev",
"build-analyze": "cross-env ANALYZE=true npm run build",
"build-dev": "npm run copy-distributions && cross-env NODE_ENV=development webpack --config node_modules/@labkey/build/webpack/dev.config.js --color",
"build-prod": "npm run copy-distributions && cross-env NODE_ENV=production PROD_SOURCE_MAP=source-map webpack --config node_modules/@labkey/build/webpack/prod.config.js --color --progress --profile",
"clean": "rimraf resources/web/core/gen && rimraf resources/web/core/css && rimraf resources/web/clientapi && rimraf resources/views/gen && rimraf resources/web/gen",
"copy-distributions": "npm run clean && node copy-distributions.js",
"start": "cross-env NODE_ENV=development webpack serve --config node_modules/@labkey/build/webpack/watch.config.js",
"start-link": "cross-env LINK=true npm run start",
"test": "cross-env NODE_ENV=test jest",
"lint": "eslint",
"lint-fix": "eslint --fix"
},
"jest": {
"globals": {
"LABKEY": {
"container": {
"formats": {
"dateFormat": "yyyy-MM-dd"
}
},
"user": {
"id": 1004
},
"project": {},
"moduleContext": {}
}
},
"moduleFileExtensions": [
"tsx",
"ts",
"js"
],
"preset": "ts-jest",
"setupFilesAfterEnv": [
"<rootDir>/test/js/setup.ts"
],
"testEnvironment": "jsdom",
"testMatch": null,
"testRegex": "(\\.(test))\\.(ts|tsx)$",
"testResultsProcessor": "jest-teamcity-reporter",
"transform": {
"^.+\\.tsx?$": [
"ts-jest",
{
"tsconfig": "node_modules/@labkey/build/webpack/tsconfig.test.json"
}
]
}
},
"dependencies": {
"@labkey/components": "7.21.0",
"@labkey/themes": "1.7.0"
},
"devDependencies": {
"@labkey/build": "8.9.0",
"@labkey/eslint-config": "1.1.3",
"@types/jest": "30.0.0",
"@types/react": "18.3.27",
"@types/react-dom": "18.3.7",
"fs-extra": "11.3.2",
"jest": "30.2.0",
"jest-environment-jsdom": "30.2.0",
"jest-teamcity-reporter": "0.9.0",
"ts-jest": "29.4.6"
}
}