UNPKG

@taraai/read-write

Version:

Synchronous NoSQL/Firestore for React

149 lines (148 loc) 4.81 kB
{ "name": "@taraai/read-write", "version": "0.0.7-alpha.3", "description": "Synchronous NoSQL/Firestore for React", "main": "lib/index.js", "module": "es/index.js", "jsnext:main": "es/index.js", "unpkg": "dist/read-write.min.js", "scripts": { "autotest": "concurrently --kill-others \"yarn test:watch shouldPassFail\" \"yarn --cwd ./examples/notes dev:firestore\"", "clean": "rimraf lib dist es", "dev": "yarn --cwd ./examples/notes dev", "build:commonjs": "cross-env BABEL_ENV=commonjs babel src --out-dir lib", "build:es": "cross-env BABEL_ENV=es babel src --out-dir es", "build:dev": "cp ./index.d.ts ./examples/notes/node_modules/read-write; cross-env BABEL_ENV=es babel src --out-dir ./examples/notes/node_modules/read-write", "build:umd": "cross-env BABEL_ENV=commonjs NODE_ENV=development webpack", "build:umd:min": "cross-env BABEL_ENV=commonjs NODE_ENV=production webpack", "build": "npm run build:commonjs && npm run build:es && npm run build:umd && npm run build:umd:min", "analyze": "webpack --profile --json > stats.json && webpack-bundle-analyzer stats.json", "watch": "npm run build:es -- --watch", "watch:dev": "npm run build:dev -- --watch", "watch:lib": "npm run build:lib -- --watch", "watch:commonjs": "npm run build:commonjs -- --watch", "test": "jest", "test:watch": "jest --watch", "test:cc": "jest --coverage --coverage-reporters=lcov", "start": "yarn --cwd ./examples/notes start", "lint": "eslint src test", "lint:fix": "npm run lint -- --fix", "format": "prettier --write \"src/**/*.js\" \"test/**/*.js\"", "prepare": "npm run clean && npm run build", "prepublish": "npm run clean && npm run build", "pre-push": "npm run lint", "storybook": "start-storybook -p 6006", "build-storybook": "build-storybook" }, "dependencies": { "@testing-library/jest-dom": "^5.16.4", "@testing-library/react": "^12.1.4", "debug": "^4.3.4", "global": "^4.4.0", "immer": "9.0.12", "jsdom": "^19.0.0", "leaked-handles": "^5.2.0", "lodash": "^4.17.21", "react-dom": "^17.0.2", "react-test-renderer": "^17.0.2", "redux-mock-store": "^1.5.4", "redux-thunk": "^2.4.1", "storybook": "^6.4.22" }, "devDependencies": { "@babel/cli": "^7.17.6", "@babel/core": "^7.17.9", "@babel/plugin-transform-modules-commonjs": "^7.17.9", "@babel/plugin-transform-runtime": "^7.17.0", "@babel/preset-env": "^7.16.11", "@babel/preset-react": "^7.16.7", "@babel/register": "^7.17.7", "@babel/runtime": "^7.17.9", "@reduxjs/toolkit": "^1.8.1", "@storybook/addon-actions": "^6.4.22", "@storybook/addon-essentials": "^6.4.22", "@storybook/addon-interactions": "^6.4.22", "@storybook/addon-links": "^6.4.22", "@storybook/react": "^6.4.22", "@storybook/testing-library": "^0.0.10", "babel-eslint": "^10.1.0", "babel-loader": "^8.2.5", "babel-plugin-lodash": "^3.3.4", "babel-plugin-module-resolver": "^4.1.0", "babel-plugin-transform-inline-environment-variables": "^0.4.3", "concurrently": "^7.1.0", "cross-env": "^7.0.3", "eslint": "^8.14.0", "eslint-config-airbnb-base": "^15.0.0", "eslint-config-google": "^0.14.0", "eslint-config-prettier": "^8.5.0", "eslint-plugin-babel": "^5.3.1", "eslint-plugin-import": "^2.26.0", "eslint-plugin-jsdoc": "^39.2.8", "eslint-plugin-jsx-a11y": "^6.5.1", "eslint-plugin-prettier": "^4.0.0", "eslint-plugin-react": "^7.29.4", "firebase": "^9.6.11", "firebase-tools": "^10.7.2", "husky": "^7.0.4", "jest": "^27.5.1", "kelonio": "0.7.0", "prettier": "2.6.2", "react": "^17.0.2", "react-redux": "^8.0.0", "redux": "^4.2.0", "remove-strict-webpack-plugin": "^0.1.2", "rimraf": "^3.0.2", "terser-webpack-plugin": "^5.3.1", "webpack": "^5.72.0", "webpack-bundle-analyzer": "^4.5.0", "webpack-cli": "^4.9.2" }, "typings": "./index.d.ts", "files": [ "dist", "lib", "es", "src", "index.d.ts" ], "browserslist": [ "> 2%" ], "jest": { "verbose": true, "testEnvironment": "jsdom", "collectCoverage": true, "coverageReporters": [ "lcov" ], "modulePathIgnorePatterns": [ "examples" ] }, "license": "MIT", "homepage": "https://github.com/taraai/read-write", "keywords": [ "firestore", "firebase", "redux", "react", "read-write", "react-firestore", "react-redux-firebase", "redux-firebase", "react-firebase" ], "repository": { "type": "git", "url": "git+https://github.com/taraai/read-write.git" }, "npmFileMap": [ { "basePath": "/dist/", "files": [ "*.js" ] } ] }