/
package.json
59 lines (59 loc) · 2.33 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
{
"author": "Enonic",
"bugs": {
"url": "https://github.com/enonic/tutorial-myfirstsite/issues"
},
"dependencies": {
"@enonic/js-utils": "^1"
},
"description": "My first Enonic site",
"devDependencies": {
"@enonic-types/core": "^7",
"@enonic-types/global": "^7",
"@enonic-types/lib-cluster": "^7",
"@enonic-types/lib-content": "^7",
"@enonic-types/lib-context": "^7",
"@enonic-types/lib-export": "^7",
"@enonic-types/lib-io": "^7",
"@enonic-types/lib-portal": "^7",
"@enonic-types/lib-project": "^7",
"@enonic/tsup-plugin-manifest": "^0.0.1",
"@typescript-eslint/eslint-plugin": "^7",
"browser-sync": "^3",
"concurrently": "^8",
"esbuild-plugin-globals": "^0.2.0",
"esbuild-sass-plugin": "^2.16.1",
"eslint": "^8",
"eslint-plugin-jsx-a11y": "^6",
"glob": "^10.3.15",
"rimraf": "^5",
"sass": "^1.77.1",
"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:sass -- --style compressed' 'npm:build:server -- --minify' 'npm:build:static -- --minify'",
"build:sass": "npx sass src/main/resources/assets/styles:build/resources/main/assets/styles",
"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:server": "npx tsc --noEmit",
"check:types:static": "npx tsc --noEmit -p src/main/resources/static/tsconfig.json",
"lint": "eslint --cache src/main/resources/**/*.ts",
"watch": "concurrently -c auto npm: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",
"watchChanges:static": "npm run build:static -- --watch"
},
"version": "1.0.0"
}