UNPKG

flow-immutable-models

Version:

Generates model classes from Flow types using Immutable.js

64 lines (63 loc) 1.93 kB
{ "name": "flow-immutable-models", "version": "0.12.0", "description": "Generates model classes from Flow types using Immutable.js", "main": "lib/ImmutableModel.js", "repository": { "type": "git", "url": "https://github.com/pbomb/flow-immutable-models.git" }, "scripts": { "build": "babel src -d lib --ignore __tests__ && flow-copy-source src lib", "flow": "flow", "eslint": "eslint src", "gen-models": "npm run build && jscodeshift src/__tests__/models -t lib/transform.js", "lint:staged": "lint-staged", "prepublish": "npm run eslint && npm run flow && npm test && npm run prettier", "prettier": "prettier --write --print-width=100 --single-quote=true --trailing-comma=es5 'src/**/*.js'", "test": "npm run gen-models && jest" }, "keywords": [ "flow", "immutable", "javascript" ], "author": "Matt Parrish <matt.r.parrish@gmail.com>", "license": "MIT", "devDependencies": { "babel-cli": "^6.24.1", "babel-core": "^6.24.1", "babel-eslint": "^7.2.3", "babel-jest": "^20.0.3", "babel-plugin-transform-flow-strip-types": "6.22.0", "babel-polyfill": "6.23.0", "babel-preset-latest": "^6.24.1", "eslint": "^3.19.0", "eslint-config-airbnb": "^15.0.1", "eslint-plugin-flowtype": "^2.33.0", "eslint-plugin-import": "2.2.0", "eslint-plugin-jsx-a11y": "^5.0.3", "eslint-plugin-react": "^7.0.1", "flow-bin": "^0.46.0", "flow-copy-source": "^1.2.0", "jest": "^20.0.3", "lint-staged": "^3.4.2", "pre-commit": "1.2.2", "prettier": "^1.3.1" }, "dependencies": { "immutable": "3.8.1", "jscodeshift": "0.3.30" }, "jest": { "testEnvironment": "node", "testRegex": "/__tests__/.*\\.spec\\.js$" }, "lint-staged": { "*.js": [ "prettier --write --print-width 100 --single-quote true --trailing-comma es5", "git add" ] }, "pre-commit": "lint:staged" }