-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
39 lines (39 loc) · 1.5 KB
/
package.json
File metadata and controls
39 lines (39 loc) · 1.5 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
{
"name": "@item-enonic-types/lib-time",
"version": "1.6.1",
"description": "Type definitions for lib-time",
"license": "MIT",
"files": [
"*.d.ts",
"format/*.d.ts",
"tsconfig.json"
],
"devDependencies": {
"@changesets/cli": "^2.29.8",
"@item-enonic-types/lib-testing": "^7.13.0",
"@swc/core": "^1.15.8",
"@types/node": "^25.0.3",
"eslint": "^9.39.2",
"eslint-config-prettier": "^10.1.8",
"eslint-plugin-prettier": "^5.5.4",
"concurrently": "^9.2.1",
"glob": "^13.0.0",
"prettier": "^3.7.4",
"tsup": "^8.5.1",
"typescript": "^5.9.3",
"typescript-eslint": "^8.52.0"
},
"dependencies": {
"@item-enonic-types/nashorn-env": "^0.0.2"
},
"scripts": {
"build": "node tsup/anyServerFiles.js && npx tsup -d build/resources/main",
"check": "concurrently -c auto -g --timings npm:check:types npm:lint",
"check:types": "node tsup/anyServerFiles.js && npx tsc --noEmit -p src/main/resources/tsconfig.json || exit 0",
"lint": "eslint --cache \"src/main/resources/**/*.ts\"",
"prepublishOnly": "tsc --project src/main/resources/tsconfig.json --declarationDir build/types --emitDeclarationOnly true --declaration true && cp -r ./build/types/* .",
"postpublish": "rm ./*.d.ts && rm -r ./format",
"release": "npm run build",
"versioning": "npx changeset version && npm i --package-lock-only && NEW_VERSION=$(node -p \"require('./package.json').version\") && sed -i \"s/version.*/version = ${NEW_VERSION}/\" gradle.properties"
}
}