-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
76 lines (76 loc) · 2.15 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
{
"author": "Christian Andreas Westgaard <cwe@enonic.com>",
"browser": {
"index.cjs": "./browser.cjs",
"index.mjs": "./browser.mjs"
},
"bugs": {
"url": "https://github.com/enonic/explorer-utils/issues"
},
"dependencies": {
"@enonic/js-utils": "^1.1.0"
},
"description": "constants and functions that can be used both client- and server-side.",
"devDependencies": {
"@enonic-types/lib-node": "^7",
"@swc/core": "^1",
"npm-run-all": "^4",
"rimraf": "^5",
"tslib": "^2",
"tsup": "^6",
"typescript": "^5"
},
"exports": {
".": {
"types": "./index.d.ts",
"import": "./index.mjs",
"require": "./index.cjs"
},
"./src": "./src/index.ts"
},
"files": [
"/src",
"browser.cjs",
"browser.mjs",
"index.d.ts",
"index.cjs",
"index.mjs",
"index.mts"
],
"homepage": "https://github.com/enonic/explorer-utils/tree/master#readme",
"keywords": [
"commonjs",
"enonic",
"enonic-xp",
"es5",
"explorer-utils",
"typescript"
],
"license": "GPL-3.0",
"main": "./index.cjs",
"module": "./index.mjs",
"name": "@enonic/explorer-utils",
"publishConfig": {
"access": "public"
},
"repository": {
"type": "git",
"url": "git+https://github.com/enonic/explorer-utils"
},
"scripts": {
"build": "npm-run-all --parallel build:browser build:node:cjs:es5 build:node:esm",
"build:browser": "npx tsup --entry.browser src/index.ts --format cjs,esm --platform browser",
"build:node:cjs:es5": "npx tsup --dts --format cjs --platform node --target es5 src/index.ts",
"build:node:esm": "npx tsup --format esm --platform node src/index.ts",
"clean": "rimraf browser.cjs browser.mjs index.cjs index.d.ts index.mjs enonic-explorer-utils-v*.tgz yarn-error.log",
"prebuild": "yarn clean",
"prepack": "yarn build",
"watch": "npm-run-all --parallel watch:browser watch:node:cjs:es5 watch:node:esm",
"watch:browser": "yarn build:browser --watch",
"watch:node:cjs:es5": "yarn build:node:cjs:es5 --watch",
"watch:node:esm": "yarn build:node:esm --watch"
},
"type": "module",
"types": "index.d.mts",
"version": "0.3.0"
}