-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathpackage.json
125 lines (125 loc) · 3.78 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
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
{
"name": "@enonic/js-utils",
"description": "Enonic XP JavaScript Utils",
"version": "0.0.0",
"author": "Christian Westgaard <[email protected]>",
"contributors": [],
"devDependencies": {
"@babel/core": "^7",
"@babel/register": "^7",
"@enonic-types/core": "^7",
"@enonic-types/global": "^7",
"@enonic-types/lib-app": "^7",
"@enonic-types/lib-auth": "^7",
"@enonic-types/lib-content": "^7",
"@enonic-types/lib-event": "^7",
"@enonic-types/lib-io": "^7",
"@enonic-types/lib-mail": "^7",
"@enonic-types/lib-node": "^7",
"@enonic-types/lib-portal": "^7",
"@enonic-types/lib-repo": "^7",
"@enonic-types/lib-schema": "^7",
"@enonic-types/lib-value": "^7",
"@enonic/test-data": "^1",
"@jest/globals": "^29",
"@swc/core": "^1",
"@types/assert": "^1",
"@types/chai": "^4",
"@types/node": "^22.0.0",
"@typescript-eslint/eslint-plugin": "^7",
"@typescript-eslint/parser": "^6",
"babel-jest": "^29.5.0",
"chai": "^4",
"concurrently": "^9",
"esbuild": "^0.24",
"eslint": "^8",
"eslint-plugin-import": "^2",
"glob": "^11",
"jest": "^29",
"jest-environment-jsdom": "^29",
"q-i": "^2",
"rimraf": "^6",
"serialize-javascript": "^6",
"swc": "^1",
"ts-jest": "^29",
"ts-node": "^10.9.1",
"tsd": "^0",
"tslib": "^2",
"tsup": "^8",
"type-fest": "^4",
"typedoc": "^0",
"typescript": "^5"
},
"exports": {
".": {
"types": "./index.d.ts",
"import": "./dist/esm/index.mjs",
"require": "./dist/cjs/index.cjs"
},
"./*/": {
"import": "./dist/esm/*/index.mjs",
"require": "./dist/cjs/*/index.cjs"
},
"./*": {
"import": "./dist/esm/*.mjs",
"require": "./dist/cjs/*.cjs"
}
},
"files": [
"array",
"constants.ts",
"dist",
"docs",
"http",
"index.d.ts",
"index.ts",
"object",
"storage",
"string",
"task",
"types",
"value"
],
"keywords": [
"enonic",
"utils",
"ecmascript",
"javascript",
"typescript",
"commonjs"
],
"license": "Apache-2.0",
"main": "dist/cjs/index.cjs",
"module": "dist/esm/index.mjs",
"publishConfig": {
"access": "public"
},
"repository": {
"type": "git",
"url": "git+ssh://[email protected]:enonic/npm-js-utils.git"
},
"scripts": {
"build": "yarn build:tsup",
"build:tsup": "yarn build:tsup:cjs && yarn build:tsup:esm && yarn build:tsup:types",
"build:tsup:cjs": "npx tsup -d dist/cjs --silent",
"build:tsup:esm": "npx tsup -d dist/esm --silent",
"build:tsup:types": "npx tsup --dts-only --silent",
"clean": "rimraf build dist index.d.ts enonic-js-utils-v*.tgz",
"docs": "npx typedoc",
"prebuild": "yarn clean && yarn verify:syntax && yarn verify:types",
"prepack": "yarn build && yarn test && yarn docs",
"prepublishOnly": "node setversion.cjs",
"test": "jest --no-cache --coverage",
"verify": "yarn verify:syntax && yarn verify:types && yarn verify:type:definitions",
"verify:syntax": "npx eslint array constants.ts http index.ts object storage string test task types value",
"verify:type:definitions": "yarn verify:type:definitions:ByteSource && yarn verify:type:definitions:Event && yarn verify:type:definitions:Node",
"verify:type:definitions:ByteSource": "npx tsd -t types/index.d.ts -f test/types/ByteSource.test-d.ts",
"verify:type:definitions:Event": "npx tsd -t types/index.d.ts -f test/types/Event.test-d.ts",
"verify:type:definitions:Node": "npx tsd -t types/index.d.ts -f test/types/Node.test-d.ts",
"verify:types": "yarn verify:types:sources && yarn verify:types:tests",
"verify:types:sources": "npx tsc --noEmit",
"verify:types:tests": "npx tsc -p test/tsconfig.json --noEmit"
},
"type": "module",
"types": "index.d.ts"
}