UNPKG

@aegis-framework/artemis

Version:

Aegis Framework Javascript Library

72 lines (71 loc) 2.34 kB
{ "name": "@aegis-framework/artemis", "version": "0.6.0", "description": "Aegis Framework Javascript Library", "type": "module", "main": "./dist/artemis.js", "module": "./dist/artemis.js", "types": "./dist/types/index.d.ts", "exports": { ".": { "types": "./dist/types/index.d.ts", "import": "./dist/artemis.js", "default": "./dist/artemis.js" }, "./browser": { "types": "./dist/types/browser.d.ts", "import": "./dist/artemis.browser.js", "default": "./dist/artemis.browser.js" } }, "sideEffects": [ "./dist/artemis.browser.js" ], "repository": { "type": "git", "url": "https://github.com/AegisFramework/Artemis.git" }, "bugs": { "url": "https://github.com/AegisFramework/Artemis/issues" }, "homepage": "https://aegisframework.com/", "author": "Diana Islas Ocampo <dev@hyuchia.com>", "license": "MIT", "keywords": [ "artemis", "dom", "javascript", "typescript", "library" ], "scripts": { "build": "bun run clean && bun run lint && bun run check && bun run build:module && bun run build:legacy && bun run build:types", "build:module": "bun build ./src/index.ts --target browser --format esm --outdir ./dist --sourcemap=linked --minify && mv ./dist/index.js ./dist/artemis.js && mv ./dist/index.js.map ./dist/artemis.js.map && sed -i 's/index.js.map/artemis.js.map/' ./dist/artemis.js", "build:legacy": "bun build ./src/browser.ts --target browser --format esm --outdir ./dist --sourcemap=linked --minify && mv ./dist/browser.js ./dist/artemis.browser.js && mv ./dist/browser.js.map ./dist/artemis.browser.js.map && sed -i 's/browser.js.map/artemis.browser.js.map/' ./dist/artemis.browser.js", "build:types": "tsc --emitDeclarationOnly --declarationDir ./dist/types", "check": "tsc --noEmit", "lint": "eslint ./src/**/*.ts", "clean": "rm -rf dist", "test": "bun test" }, "devDependencies": { "@babel/eslint-parser": "^7.28.5", "@eslint/js": "^9.39.2", "@typescript-eslint/eslint-plugin": "^8.50.0", "@typescript-eslint/parser": "^8.50.0", "bun": "^1.3.5", "eslint": "^9.39.2", "fake-indexeddb": "^6.2.5", "happy-dom": "^20.9.0", "http-server": "^14.1.1", "typescript": "^5.9.3", "typescript-eslint": "^8.50.0" }, "files": [ "dist/", "LICENSE", "README.md", "package.json" ], "browserslist": "> 0.5%, last 2 versions, not dead" }