mirror of
https://github.com/Ukendio/jecs.git
synced 2025-06-30 20:49:16 +00:00
Add package.json, tsconfig.json, and change gitignore
This commit is contained in:
parent
c3d745a88b
commit
eede16f53b
4 changed files with 2304 additions and 0 deletions
4
.gitignore
vendored
4
.gitignore
vendored
|
@ -46,6 +46,10 @@ Packages
|
|||
wally.lock
|
||||
WallyPatches
|
||||
|
||||
# Typescript
|
||||
/node_modules
|
||||
/include
|
||||
|
||||
# Misc
|
||||
roblox.toml
|
||||
sourcemap.json
|
||||
|
|
2231
package-lock.json
generated
Normal file
2231
package-lock.json
generated
Normal file
File diff suppressed because it is too large
Load diff
43
package.json
Normal file
43
package.json
Normal file
|
@ -0,0 +1,43 @@
|
|||
{
|
||||
"name": "@rbxts/jecs",
|
||||
"version": "0.1.0",
|
||||
"description": "Stupidly fast Entity Component System",
|
||||
"main": "lib/init.lua",
|
||||
"repository": {
|
||||
"type": "git",
|
||||
"url": "https://github.com/ukendio/jecs.git"
|
||||
},
|
||||
"scripts": {
|
||||
"build": "rbxtsc",
|
||||
"watch": "rbxtsc -w",
|
||||
"prepublishOnly": "npm run build"
|
||||
},
|
||||
"keywords": [],
|
||||
"author": "Ukendio",
|
||||
"contributors": [
|
||||
"Ukendio",
|
||||
"EncodedVenom"
|
||||
],
|
||||
"homepage": "https://github.com/ukendio/jecs",
|
||||
"license": "MIT",
|
||||
"types": "lib/index.d.ts",
|
||||
"files": [
|
||||
"lib/"
|
||||
],
|
||||
"publishConfig": {
|
||||
"access": "public"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@rbxts/compiler-types": "github:roblox-ts/compiler-types",
|
||||
"@rbxts/types": "^1.0.558",
|
||||
"@typescript-eslint/eslint-plugin": "^5.8.0",
|
||||
"@typescript-eslint/parser": "^5.8.0",
|
||||
"eslint": "^8.5.0",
|
||||
"eslint-config-prettier": "^8.3.0",
|
||||
"eslint-plugin-prettier": "^4.0.0",
|
||||
"eslint-plugin-roblox-ts": "^0.0.32",
|
||||
"prettier": "^2.5.1",
|
||||
"roblox-ts": "^1.3.3-dev-5633519",
|
||||
"typescript": "^4.5.4"
|
||||
}
|
||||
}
|
26
tsconfig.json
Normal file
26
tsconfig.json
Normal file
|
@ -0,0 +1,26 @@
|
|||
{
|
||||
"compilerOptions": {
|
||||
// required
|
||||
"allowSyntheticDefaultImports": true,
|
||||
"downlevelIteration": true,
|
||||
"jsx": "react",
|
||||
"jsxFactory": "Roact.createElement",
|
||||
"jsxFragmentFactory": "Roact.Fragment",
|
||||
"module": "commonjs",
|
||||
"moduleResolution": "Node",
|
||||
"noLib": true,
|
||||
"resolveJsonModule": true,
|
||||
"strict": true,
|
||||
"target": "ESNext",
|
||||
"typeRoots": ["node_modules/@rbxts"],
|
||||
|
||||
// configurable
|
||||
"rootDir": "lib",
|
||||
"outDir": "out",
|
||||
"baseUrl": "lib",
|
||||
"incremental": true,
|
||||
"tsBuildInfoFile": "out/tsconfig.tsbuildinfo",
|
||||
|
||||
"moduleDetection": "force"
|
||||
}
|
||||
}
|
Loading…
Reference in a new issue