3d10325873
This implements some basic infra for testing Theatre.js with popular setups such as npm/yarn/pnpm, webpack/vite/parcel, js/ts, etc. So far, the only existing setup has been with create-react-app. Will add more in the future. Co-authored-by: Fülöp <fulopkovacs@users.noreply.github.com> Co-authored-by: Aria Minaei <aria.minaei@gmail.com>
51 lines
1.4 KiB
JSON
51 lines
1.4 KiB
JSON
{
|
|
"name": "@theatre/react",
|
|
"version": "0.4.8-dev.3",
|
|
"license": "Apache-2.0",
|
|
"author": {
|
|
"name": "Aria Minaei",
|
|
"email": "aria@theatrejs.com",
|
|
"url": "https://github.com/AriaMinaei"
|
|
},
|
|
"repository": {
|
|
"type": "git",
|
|
"url": "https://github.com/AriaMinaei/theatre",
|
|
"directory": "packages/react"
|
|
},
|
|
"main": "dist/index.js",
|
|
"types": "dist/index.d.ts",
|
|
"files": [
|
|
"dist/**/*"
|
|
],
|
|
"scripts": {
|
|
"prepack": "node ../../devEnv/ensurePublishing.js",
|
|
"typecheck": "yarn run build",
|
|
"build": "run-s build:ts build:js build:api-json",
|
|
"build:ts": "tsc --build ./tsconfig.json",
|
|
"build:js": "node -r esbuild-register ./devEnv/build.ts",
|
|
"build:api-json": "api-extractor run --local --config devEnv/api-extractor.json",
|
|
"prepublish": "node ../../devEnv/ensurePublishing.js",
|
|
"clean": "rm -rf ./dist && rm -f tsconfig.tsbuildinfo"
|
|
},
|
|
"devDependencies": {
|
|
"@microsoft/api-extractor": "^7.18.11",
|
|
"@types/jest": "^26.0.23",
|
|
"@types/lodash-es": "^4.17.4",
|
|
"@types/node": "^15.6.2",
|
|
"@types/react": "^17.0.9",
|
|
"@types/react-dom": "^17.0.6",
|
|
"esbuild": "^0.12.15",
|
|
"esbuild-register": "^2.5.0",
|
|
"npm-run-all": "^4.1.5",
|
|
"typescript": "^4.4.2"
|
|
},
|
|
"dependencies": {
|
|
"@theatre/dataverse": "workspace:*",
|
|
"lodash-es": "^4.17.21",
|
|
"queue-microtask": "^1.2.3"
|
|
},
|
|
"peerDependencies": {
|
|
"react": "*",
|
|
"react-dom": "*"
|
|
}
|
|
}
|