UNPKG

sextant

Version:

Chart application flows, then implement them in code

91 lines (90 loc) 2.8 kB
{ "name": "sextant", "version": "0.4.0", "bin": { "sextant": "bin/index.js" }, "repository": { "url": "https://github.com/mattpocock/sextant" }, "author": { "name": "Matt Pocock", "email": "mpocock@me.com" }, "keywords": [ "frontend", "typescript", "sextant", "state" ], "license": "MIT", "description": "Chart application flows, then implement them in code", "dependencies": { "@sextant-tools/core": "0.1.0", "body-parser": "^1.19.0", "commander": "^6.2.0", "express": "^4.17.1", "fs-extra": "^9.0.1", "open": "^7.3.0" }, "scripts": { "start": "concurrently \"craco start\" \"npm run codegen\" \"npm run start:api\"", "start:api": "TARGET_DIR=\"../../sextant-dev\" ts-node-dev -T --project tsconfig.server.json src/bin/server/devServer.ts", "start:demo": "REACT_APP_DATABASE_SAVE_MODE=localStorage concurrently \"craco start\" \"npm run codegen\"", "dev:codegen": "ts-node-dev -T --respawn --watch \"../**\" --project tsconfig.server.json src/bin/index.ts codegen ../../sextant-dev", "build": "(cd ../../ && yarn build) && npm run codegen -- --once && craco build && npm run build:api && npm run chmod:index", "build:demo": "(cd ../../ && yarn build) && npm run codegen -- --once && REACT_APP_DATABASE_SAVE_MODE=localStorage craco build", "build:api": "tsc --project tsconfig.server.build.json", "lint": "tsc --noEmit", "codegen": "xstate-codegen \"./!(node_modules)/**/**.machine.ts\"", "prepublishOnly": "npm run build", "chmod:index": "chmod +x bin/index.js" }, "eslintConfig": { "extends": [ "react-app", "react-app/jest" ] }, "browserslist": { "production": [ ">0.2%", "not dead", "not op_mini all" ], "development": [ "last 1 chrome version", "last 1 firefox version", "last 1 safari version" ] }, "devDependencies": { "@craco/craco": "^5.7.0", "@testing-library/jest-dom": "^5.11.4", "@testing-library/react": "^11.1.0", "@testing-library/user-event": "^12.1.10", "@types/classnames": "^2.2.11", "@types/express": "^4.17.8", "@types/fs-extra": "^9.0.3", "@types/jest": "^26.0.15", "@types/node": "^12.0.0", "@types/react": "^16.9.53", "@types/react-dom": "^16.9.8", "@types/react-router-dom": "^5.1.6", "@xstate/react": "^1.0.1", "classnames": "^2.2.6", "graphql": "^15.4.0", "human-id": "^2.0.1", "immer": "7.0.14", "react": "16.13.1", "react-ace": "^9.1.4", "react-contenteditable": "^3.3.5", "react-dom": "16.13.1", "react-router-dom": "^5.2.0", "react-scripts": "^3", "tailwindcss": "^1.8.10", "ts-node-dev": "^1.0.0", "typescript": "^4.0.3", "xstate": "^4.13.0" } }