UNPKG

reshow-flux

Version:
70 lines (69 loc) 2.25 kB
{ "version": "0.19.3", "name": "reshow-flux", "repository": { "type": "git", "url": "https://github.com/react-atomic/reshow", "directory": "packages/reshow-flux" }, "homepage": "https://github.com/react-atomic/reshow/tree/main/packages/reshow-flux", "description": "The smallest react flux and Fast hook alternative", "keywords": [ "state", "global-state", "state-management", "reducer", "flux", "reshow-flux", "redux", "react", "reactjs" ], "author": "Hill <hill@kimo.com>", "license": "ISC", "dependencies": { "array.dedup": "*", "array.merge": "*", "call-func": "*", "get-object-value": ">0.8.0", "immutable": "4.0.0", "memoize-one": "*", "reshow-build": "*", "reshow-constant": "*", "reshow-flux-base": "*", "reshow-hooks": "*", "reshow-runtime": "*" }, "devDependencies": { "@babel/cli": "^7.x", "react": "19.x", "react-dom": "19.x", "reshow-unit": "*" }, "exports": { "types": "./types/index.d.ts", "require": "./build/cjs/index.js", "import": "./build/es/index.mjs" }, "main": "./build/cjs/index.js", "module": "./build/es/index.mjs", "scripts": { "clean": "find ./build ./types -name '*.*' | xargs rm -rf", "build:cjs": "BABEL_ENV=cjs babel src -d build/cjs --ignore /**/__tests__ --root-mode upward", "build:es": "BABEL_ENV=es babel src -d build/es --out-file-extension .mjs --root-mode upward", "build:type": "npx -p typescript tsc src/*.js src/**/*.js --jsx react-jsx --declaration --allowJs --emitDeclarationOnly --skipLibCheck --declarationDir types --lib es2022,dom", "build": "npm run clean && npm run build:cjs && npm run build:es && npm run build:type", "mochaFor": "STRICT_MODE=1 mocha -r global-jsdom/register", "mocha": "npm run mochaFor -- 'build/es/**/__tests__/*.mjs'", "test:report": "npm run build && npm run mochaFor -- --reporter mocha-junit-reporter --reporter-options mochaFile=./test_output/mocha.xml 'build/es/**/__tests__/*.mjs'", "test": "npm run build && npm run mocha", "prepublishOnly": "npm run test" }, "types": "./types/index.d.ts", "files": [ "types", "build", "package.json", "README.md" ] }