@bottom-sheet/state-machine
Version:
The bottom-sheet brains, built on xstate
89 lines (88 loc) • 2.73 kB
JSON
{
"name": "@bottom-sheet/state-machine",
"version": "1.1.1",
"description": "The bottom-sheet brains, built on xstate",
"keywords": [
"typescript",
"xstate",
"bottom-sheet",
"react-spring-bottom-sheet"
],
"homepage": "https://react-spring.bottom-sheet.dev",
"bugs": {
"url": "https://github.com/bottom-sheet/state-machine/issues"
},
"repository": "bottom-sheet/state-machine",
"license": "MIT",
"author": "Cody Olsen <stipsan@gmail.com>",
"sideEffects": false,
"exports": {
".": {
"require": "./dist/cjs/index.js",
"default": "./dist/esm/index.js"
}
},
"main": "dist/cjs/index.js",
"module": "dist/esm/index.js",
"source": "src/index.ts",
"types": "dist/dts/index.d.ts",
"files": [
"dist"
],
"scripts": {
"prebuild": "rimraf dist/**",
"build": "parcel build",
"postbuild": "cp src/index.typegen.ts dist/dts/index.typegen.d.ts && npx replace-in-file \"index.typegen\" \"./index.typegen\" dist/dts/index.d.ts",
"dev": "parcel watch",
"lint": "eslint . --ext ts,tsx,js,jsx --max-warnings 0 && prettier --check .",
"lint:format": "eslint . --ext ts,tsx,js,jsx --fix && prettier --write .",
"package-check": "npx package-check",
"prepublishOnly": "npm run build",
"test": "npm run lint && npm run type-check && npm run build && npx jest && npm run package-check",
"type-check": "tsc --noEmit",
"watch": "npx jest --watch"
},
"prettier": {
"semi": false,
"singleQuote": true
},
"dependencies": {
"@bottom-sheet/types": "^1.0.6",
"@types/lodash.clamp": "^4.0.7",
"@types/lodash.isequal": "^4.5.6",
"lodash.clamp": "^4.0.3",
"lodash.isequal": "^4.5.0",
"memoize-one": "^6.0.0",
"xstate": "^4.32.1"
},
"devDependencies": {
"@babel/eslint-parser": "^7.18.2",
"@parcel/packager-ts": "^2.6.0",
"@parcel/transformer-typescript-types": "^2.6.0",
"@semantic-release/changelog": "^6.0.1",
"@semantic-release/git": "^10.0.1",
"@skypack/package-check": "^0.2.2",
"@types/jest": "^28.1.1",
"@types/node": "^17.0.41",
"@xstate/cli": "^0.2.0",
"eslint": "^8.17.0",
"eslint-config-react-app": "^7.0.1",
"eslint-plugin-flowtype": "^8.0.3",
"eslint-plugin-import": "^2.26.0",
"eslint-plugin-jsx-a11y": "^6.5.1",
"eslint-plugin-react": "^7.30.0",
"eslint-plugin-simple-import-sort": "^7.0.0",
"jest": "^28.1.1",
"parcel": "^2.6.0",
"prettier": "^2.6.2",
"prettier-plugin-packagejson": "^2.2.18",
"replace-in-file": "^6.3.5",
"rimraf": "^3.0.2",
"semantic-release": "^19.0.2",
"ts-jest": "^28.0.4",
"typescript": "^4.7.3"
},
"publishConfig": {
"access": "public"
}
}