planck-deterministic/package.json

113 lines
3.6 KiB
JSON
Raw Permalink Normal View History

2016-03-23 22:59:54 -04:00
{
"name": "planck-deterministic",
"version": "1.5.0-det.1",
"description": "planck.js with a cross-platform deterministic math kernel \u2014 bit-identical simulation on ARM64/JavaScriptCore and x86-64/V8, so replays are portable between mobile and desktop builds.",
"homepage": "https://github.com/caelum0x/planck-deterministic",
2016-03-23 22:59:54 -04:00
"keywords": [
"box2d",
"html5",
"javascript",
2021-04-10 17:38:41 -07:00
"typescript",
2016-03-23 22:59:54 -04:00
"game",
"physics",
"engine",
"2d",
"mobile",
"deterministic",
"replay",
"rollback",
"lockstep",
"cross-platform"
2016-03-23 22:59:54 -04:00
],
2021-04-10 17:38:41 -07:00
"license": "MIT",
2016-03-23 22:59:54 -04:00
"repository": {
"type": "git",
"url": "git://github.com/caelum0x/planck-deterministic.git"
2016-03-23 22:59:54 -04:00
},
2021-05-06 15:38:17 -07:00
"author": "Ali Shakiba",
2017-12-16 15:45:24 -08:00
"contributors": [
2021-04-10 17:38:41 -07:00
"Erin Catto",
"Ali Shakiba",
"Oliver Zell"
2017-12-16 15:45:24 -08:00
],
2023-08-16 19:43:31 -07:00
"type": "commonjs",
"sideEffects": [
"./dist/planck-with-testbed.*"
],
2023-08-01 14:30:08 -07:00
"module": "dist/planck.mjs",
"main": "dist/planck.js",
"jsdelivr": "dist/planck.min.js",
"unpkg": "dist/planck.min.js",
"types": "index.d.ts",
"exports": {
".": {
"types": "./dist/planck.d.ts",
2023-08-16 19:43:31 -07:00
"import": "./dist/planck.mjs",
2023-08-06 19:02:31 -07:00
"default": "./dist/planck.js"
},
"./with-testbed": {
"types": "./dist/planck-with-testbed.d.ts",
2023-08-16 19:43:31 -07:00
"import": "./dist/planck-with-testbed.mjs",
2023-08-06 19:02:31 -07:00
"default": "./dist/planck-with-testbed.js"
},
"./dist/*": "./dist/*"
},
"engines": {
2026-02-08 23:03:57 +03:30
"node": ">=24.0"
},
2024-08-17 01:40:15 +03:30
"peerDependencies": {
2024-12-27 22:09:02 +03:30
"stage-js": "^1.0.0-alpha.12"
2021-05-07 18:32:14 -07:00
},
2016-03-23 22:59:54 -04:00
"devDependencies": {
2026-02-08 23:03:57 +03:30
"@changesets/cli": "^2.29.8",
"@eslint/js": "^9.39.2",
"@types/chai": "^5.2.3",
"@vitest/coverage-v8": "^4.0.18",
"ajv": "^8.17.1",
"eslint": "^9.39.2",
"eslint-config-prettier": "^10.1.8",
"prettier": "^3.8.1",
"rimraf": "^6.1.2",
"rollup-plugin-license": "^3.6.0",
"sinon": "^21.0.1",
"terser": "^5.46.0",
"tsd": "^0.33.0",
"tslib": "^2.8.1",
"typedoc": "^0.28.16",
"typedoc-plugin-markdown": "^4.10.0",
"typescript-eslint": "^8.54.0",
2026-02-08 19:49:48 +03:30
"vite": "^6.4.1",
"vite-plugin-dts-bundle-generator": "^2.1.2",
2026-02-08 23:03:57 +03:30
"vite-plugin-pages": "^0.33.3",
2024-11-23 16:08:24 +03:30
"vite-plugin-typescript": "^1.0.4",
"vite-plugin-typescript-transform": "^1.3.1",
2026-02-08 23:03:57 +03:30
"vitepress": "^2.0.0-alpha.16",
"vitest": "^4.0.18"
2016-03-23 22:59:54 -04:00
},
"scripts": {
2024-11-22 13:24:52 +03:30
"lint": "eslint './src/**/*.ts' './testbed/**/*.ts'",
2024-12-18 13:02:16 +03:30
"pretty": "prettier --write './src/**/*.ts' './testbed/**/*.ts'",
"lint:example": "eslint --fix './example/**/*.ts'",
"pretty:example": "prettier --write './example/**/*.ts'",
"test": "vitest run",
"test:coverage": "vitest run --coverage",
"test:types": "tsd --typings=./dist/planck.d.ts && tsd --typings=./dist/planck-with-testbed.d.ts",
2023-08-26 15:43:36 -07:00
"preflight": "npm run lint && npm run test:types && npm run test",
"testbed": "npm run dev",
"dev": "vite",
2024-11-23 16:08:24 +03:30
"build": "rimraf ./dist/* && vite build && BUILD_TESTBED=true vite build && npm run terser-core && npm run terser-testbed",
"terser-core": "terser ./dist/planck.js -o ./dist/planck.min.js --source-map",
"terser-testbed": "terser ./dist/planck-with-testbed.js -o ./dist/planck-with-testbed.min.js --source-map",
"watch": "vite build --watch",
"preview": "vite preview",
2023-08-09 23:53:44 -07:00
"benchmark": "git log -n 1 && vite-node ./benchmark/node",
2025-05-26 19:37:49 +03:30
"changeset": "changeset",
"bump": "changeset version",
"release": "changeset publish",
2026-02-08 19:49:48 +03:30
"typedoc": "typedoc --options typedoc.json && mv ./docs/pages/api/README.md ./docs/pages/api/index.md",
"docs:dev": "vitepress dev docs",
"docs:build": "vitepress build docs",
"docs:preview": "vitepress preview docs"
}
2016-03-23 22:59:54 -04:00
}