Repository navigation
Expand file tree
/
Copy pathpackage.json
More file actions
executable file
·78 lines (78 loc) · 2.4 KB
/
Copy pathpackage.json
File metadata and controls
executable file
·78 lines (78 loc) · 2.4 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
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
{
"name": "@aegis-framework/pandora",
"version": "0.6.3",
"description": "Aegis Framework Web Components Library",
"type": "module",
"main": "./dist/pandora.js",
"module": "./dist/pandora.js",
"types": "./dist/types/index.d.ts",
"exports": {
".": {
"types": "./dist/types/index.d.ts",
"import": "./dist/pandora.js",
"default": "./dist/pandora.js"
},
"./browser": {
"types": "./dist/types/browser.d.ts",
"import": "./dist/pandora.browser.js",
"default": "./dist/pandora.browser.js"
}
},
"sideEffects": [
"./dist/pandora.browser.js"
],
"repository": {
"type": "git",
"url": "https://github.com/AegisFramework/Pandora.git"
},
"bugs": {
"url": "https://github.com/AegisFramework/Pandora/issues"
},
"homepage": "https://aegisframework.com/",
"author": "Diana Islas Ocampo <dev@hyuchia.com>",
"license": "MIT",
"keywords": [
"pandora",
"dom",
"web",
"component",
"shadow",
"javascript",
"library"
],
"scripts": {
"build": "bun clean && bun lint && bun check && bun build:module && bun build:legacy && bun build:types",
"build:module": "bun build ./src/index.ts --target browser --format esm --outdir ./dist --sourcemap=linked --minify && mv ./dist/index.js ./dist/pandora.js && mv ./dist/index.js.map ./dist/pandora.js.map && sed -i 's/index.js.map/pandora.js.map/' ./dist/pandora.js",
"build:legacy": "bun build ./src/browser.ts --target browser --format esm --outdir ./dist --sourcemap=linked --minify && mv ./dist/browser.js ./dist/pandora.browser.js && mv ./dist/browser.js.map ./dist/pandora.browser.js.map && sed -i 's/browser.js.map/pandora.browser.js.map/' ./dist/pandora.browser.js",
"build:types": "tsc --emitDeclarationOnly --declarationDir ./dist/types",
"check": "tsc --noEmit",
"lint": "eslint ./src/**/*.ts",
"clean": "rm -rf dist",
"test": "cypress run --component",
"test:e2e": "cypress run --e2e",
"test:open": "cypress open"
},
"dependencies": {
"lit-html": "^3.0.0"
},
"devDependencies": {
"@babel/eslint-parser": "^7.28.5",
"@eslint/js": "^9.39.1",
"@typescript-eslint/eslint-plugin": "^8.48.1",
"@typescript-eslint/parser": "^8.48.1",
"bun": "^1.3.3",
"cypress": "^15.12.0",
"eslint": "^9.39.1",
"typescript": "^5.9.3",
"typescript-eslint": "^8.48.1",
"vite": "^6"
},
"files": [
"dist/",
"LICENSE",
"README.md",
"package.json"
],
"browserslist": "> 0.5%, last 2 versions, not dead",
"packageManager": "bun@1.3.12"
}