elics
Version:
lightweight, flexible ECS for web games
106 lines (105 loc) • 2.69 kB
JSON
{
"name": "elics",
"version": "3.2.0",
"description": "lightweight, flexible ECS for web games",
"type": "module",
"main": "lib/index.js",
"module": "lib/index.js",
"types": "lib/index.d.ts",
"exports": {
".": {
"import": "./lib/index.js",
"require": "./lib/index.js",
"types": "./lib/index.d.ts"
}
},
"sideEffects": false,
"files": [
"build",
"lib",
"README.md",
"LICENSE"
],
"scripts": {
"generate:version": "node scripts/generate-version.js",
"prebuild": "npm run generate:version",
"clean": "rimraf ./lib ./build",
"build:ts": "tsc",
"build:rollup": "rollup -c",
"build": "npm run clean && npm run build:ts && npm run build:rollup",
"typecheck": "tsc --noEmit",
"lint": "eslint \"src/**/*.{js,ts,tsx}\" \"__tests__/**/*.{js,ts,tsx}\" \"benchmarks/**/*.{js,ts,tsx}\" --fix",
"format": "prettier --write \"src/**/*\" \"__tests__/**/*\" \"benchmarks/**/*\"",
"test": "jest --coverage",
"test:watch": "jest --watch",
"prepare": "husky",
"prepack": "npm run build",
"docs:dev": "vitepress dev docs",
"docs:build": "vitepress build docs",
"docs:preview": "vitepress preview docs",
"bench": "npm run build && npm --prefix benchmarks run bench",
"size-check": "npm run build && du -sh build/*"
},
"repository": {
"type": "git",
"url": "git+https://github.com/elixr-games/elics.git"
},
"keywords": [
"ECS",
"entity-component-system",
"game development",
"web games",
"lightweight ECS",
"flexible ECS"
],
"author": {
"name": "Felix Zhang",
"email": "felix@elixr.games",
"url": "https://github.com/felixtrz"
},
"license": "MIT",
"bugs": {
"url": "https://github.com/elixr-games/elics/issues"
},
"homepage": "https://elixr-games.github.io/elics/",
"engines": {
"node": ">=16.0.0"
},
"funding": {
"type": "individual",
"url": "https://github.com/sponsors/felixtrz"
},
"devDependencies": {
"@rollup/plugin-commonjs": "^28.0.3",
"@rollup/plugin-node-resolve": "^16.0.0",
"@rollup/plugin-terser": "^0.4.4",
"@types/jest": "^29.5.14",
"@types/node": "^24.0.15",
"@typescript-eslint/eslint-plugin": "^8.26.0",
"@typescript-eslint/parser": "^8.26.0",
"eslint": "^9.22.0",
"eslint-config-prettier": "^10.1.1",
"eslint-plugin-prettier": "^5.2.3",
"husky": "^9.1.7",
"jest": "^29.7.0",
"lint-staged": "^16.0.0",
"prettier": "^3.5.3",
"rimraf": "^6.0.1",
"rollup": "^4.35.0",
"ts-jest": "^29.3.4",
"typescript": "^5.8.2",
"vitepress": "^1.6.3"
},
"dependencies": {
"@preact/signals-core": "^1.8.0"
},
"lint-staged": {
"*.{ts,tsx,js,jsx}": [
"eslint --fix",
"prettier --write"
],
"*.{json,md,yml,yaml}": [
"prettier --write"
]
}
}