-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
93 lines (93 loc) · 3.64 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
{
"author": "Enonic",
"bugs": {
"url": "https://github.com/enonic/starter-tsup/issues"
},
"contributors": ["Christian Andreas Westgaard <[email protected]>"],
"dependencies": {
"@enonic/js-utils": "^1.9.0",
"dayjs": "^1",
"react": "^19",
"react-dom": "^19"
},
"description": "My Enonic XP project",
"devDependencies": {
"@enonic-types/core": "^7",
"@enonic-types/global": "^7",
"@enonic-types/lib-admin": "^7",
"@enonic-types/lib-app": "^7",
"@enonic-types/lib-auditlog": "^7",
"@enonic-types/lib-auth": "^7",
"@enonic-types/lib-cluster": "^7",
"@enonic-types/lib-common": "^7",
"@enonic-types/lib-content": "^7",
"@enonic-types/lib-context": "^7",
"@enonic-types/lib-event": "^7",
"@enonic-types/lib-export": "^7",
"@enonic-types/lib-grid": "^7",
"@enonic-types/lib-i18n": "^7",
"@enonic-types/lib-io": "^7",
"@enonic-types/lib-mail": "^7",
"@enonic-types/lib-node": "^7",
"@enonic-types/lib-portal": "^7",
"@enonic-types/lib-project": "^7",
"@enonic-types/lib-repo": "^7",
"@enonic-types/lib-scheduler": "^7",
"@enonic-types/lib-schema": "^7",
"@enonic-types/lib-task": "^7",
"@enonic-types/lib-value": "^7",
"@enonic-types/lib-vhost": "^7",
"@enonic-types/lib-websocket": "^7",
"@enonic/esbuild-plugin-copy-with-hash": "^0.2.0",
"@enonic/mock-xp": "^1.0.0",
"@enonic/tsup-plugin-manifest": "^0.0.1",
"@jest/globals": "^29.6.4",
"@types/react": "^19",
"@typescript-eslint/eslint-plugin": "^8",
"browser-sync": "^3",
"concurrently": "^9",
"esbuild-plugin-globals": "^0.2.0",
"esbuild-sass-plugin": "^2.16.1",
"eslint": "^8",
"eslint-plugin-jsx-a11y": "^6",
"eslint-plugin-react": "^7",
"eslint-plugin-react-hooks": "^5",
"glob": "^11.0.1",
"jest": "^29.7.0",
"q-i": "^2",
"rimraf": "^6",
"sass": "^1.83.4",
"ts-jest": "^29.2.5",
"tsup": "^8"
},
"homepage": "https://developer.enonic.com/docs/tsup-starter",
"license": "Apache-2.0",
"private": true,
"repository": {
"type": "git",
"url": "git+https://github.com/enonic/starter-tsup"
},
"scripts": {
"clean": "rimraf build",
"build": "concurrently -c auto -g --timings npm:build:*",
"minify": "concurrently -c auto -g --timings 'npm:build:browser -- --minify' npm:build:sass 'npm:build:server -- --minify' 'npm:build:static -- --minify'",
"build:asset": "npx tsup -d build/resources/main/assets",
"build:sass": "npx sass src/main/resources/assets/styles/sass:build/resources/main/assets/styles --style compressed",
"build:server": "npx tsup -d build/resources/main",
"build:static": "npx tsup -d build/resources/main/static",
"check": "concurrently -c auto -g --timings npm:lint npm:check:types",
"check:types": "concurrently -g -r --timings npm:check:types:*",
"check:types:asset": "npx tsc --noEmit -p src/main/resources/assets/tsconfig.json",
"check:types:server": "npx tsc --noEmit",
"check:types:static": "npx tsc --noEmit -p src/main/resources/static/tsconfig.json",
"lint": "eslint --cache src/main/resources/**/*.ts src/main/resources/**/*.tsx",
"test": "jest --no-cache --coverage",
"watch": "concurrently -c auto npm:watch:*",
"watch:asset": "npm run build:asset -- --watch",
"watch:browserSync": "npx browser-sync start --files \"src/main/resources/**/*.html\" \"src/main/resources/**/*.xml\" \"build/resources/main\" --reload-delay 0 --port 3100 --no-snippet --watch",
"watch:sass": "npm run build:sass -- --watch",
"watch:server": "npm run build:server -- --watch",
"watch:static": "npm run build:static -- --watch"
},
"version": "1.0.0"
}