You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

39 lines
961 B
JSON

{
"name": "@torahanytime/fsm",
"version": "0.0.20",
"author": "Avraham Sakal <avraham@torahanytime.com>",
"license": "MIT",
"main": "./dist/index.js",
"type": "module",
"types": "./dist/index.d.ts",
"exports": {
".": {
"types": "./dist/index.d.ts",
"import": "./dist/index.js"
},
"./react": {
"types": "./dist/react.d.ts",
"import": "./dist/react.js"
},
"./preact": {
"types": "./dist/preact.d.ts",
"import": "./dist/preact.js"
}
},
"scripts": {
"build": "node build.mjs",
"build-types": "tsc",
"build-and-publish": "yarn build && yarn build-types && git commit -a -m 'update dist' && yarn publish",
"build-tests": "esbuild --bundle --outdir=dist/tests src/tests/*.ts"
},
"devDependencies": {
"@types/node": "^20.1.4",
"esbuild": "^0.17.18",
"typescript": "^5.0.4"
},
"peerDependencies": {
"preact": "^10.14.1",
"react": "^18.2.0"
}
}