UNPKG

@dot-event/watchman

Version:
212 lines (211 loc) 4.57 kB
{ "name": "@dot-event/watchman", "version": "0.6.36", "description": "dot-event watchman operation", "keywords": [ "dot-event", "operation", "watchman" ], "author": "dot-event <oss@dot-event.io>", "repository": { "type": "git", "url": "git+ssh://git@github.com/dot-event/watchman.git" }, "license": "MIT", "homepage": "https://github.com/dot-event/watchman#readme", "bin": { "dot-watchman": "./bin/dot-watchman" }, "main": "dist/watchman.js", "operations": { "git": {}, "link": {}, "spawn": {}, "starter": {}, "version": {}, "watchman": { "triggers": [ { "name": "babel", "expression": [ "anyof", [ "match", "lib/**/*.js", "wholename" ] ], "command": [ "npm", "run", "build" ] } ] } }, "dependencies": { "@babel/runtime": "7.2.0", "@dot-event/argv": "2.10.11", "@dot-event/fs": "1.11.31", "@dot-event/log": "0.13.8", "@dot-event/spawn": "2.6.34", "@dot-event/store": "6.0.10", "@dot-event/task": "1.11.29", "dot-event": "2.12.11" }, "devDependencies": { "@babel/cli": "7.2.0", "@babel/core": "7.2.0", "@babel/preset-env": "7.2.0", "@babel/plugin-proposal-class-properties": "7.2.1", "@babel/plugin-proposal-object-rest-spread": "7.2.0", "@babel/plugin-transform-runtime": "7.2.0", "rimraf": "2.6.2", "babel-eslint": "10.0.1", "eslint": "5.9.0", "eslint-config-prettier": "3.3.0", "eslint-plugin-prettier": "3.0.0", "eslint-plugin-react": "7.11.1", "prettier": "1.15.2", "husky": "1.2.0", "lint-staged": "8.1.0", "babel-core": "7.0.0-bridge.0", "jest": "23.6.0" }, "babel": { "presets": [ [ "@babel/preset-env", { "targets": { "node": "8" } } ] ], "plugins": [ "@babel/plugin-proposal-class-properties", "@babel/plugin-proposal-object-rest-spread", "@babel/plugin-transform-runtime" ] }, "scripts": { "build": "babel lib --out-dir dist --source-maps", "prepublishOnly": "rimraf dist; npm run build", "watch": "rimraf dist; babel lib --watch --out-dir dist --source-maps", "fix": "npm run lint -- --fix", "lint": "eslint --ignore-path .gitignore --ext=js .", "pretty": "prettier --write **/*.css **/*.json **/*.md", "test": "jest" }, "eslintConfig": { "env": { "browser": true, "es6": true, "node": true }, "extends": [ "eslint:recommended", "plugin:prettier/recommended", "plugin:react/recommended" ], "parser": "babel-eslint", "parserOptions": { "ecmaFeatures": { "experimentalObjectRestSpread": true }, "ecmaVersion": 8, "sourceType": "module" }, "rules": { "curly": "error", "indent": [ "error", 2, { "SwitchCase": 1 } ], "linebreak-style": [ "error", "unix" ], "max-len": [ "error", { "code": 60, "ignoreRegExpLiterals": true, "ignoreStrings": true, "ignoreTemplateLiterals": true } ], "no-console": [ "error", { "allow": [ "warn", "error" ] } ], "quotes": [ "error", "double" ], "react/display-name": "off", "react/no-find-dom-node": "off", "react/prop-types": "off", "react/react-in-jsx-scope": "off", "semi": [ "error", "never" ], "sort-keys": [ "error", "asc", { "caseSensitive": true, "natural": false } ], "sort-vars": [ "error", { "ignoreCase": true } ], "strict": 0 } }, "prettier": { "printWidth": 60, "semi": false, "trailingComma": "es5" }, "husky": { "hooks": { "pre-commit": "lint-staged && npm test" } }, "lint-staged": { "*.{css,json,md}": [ "prettier --write", "git add" ], "*.js": [ "eslint --ignore-path .gitignore --fix", "git add" ] }, "jest": { "setupFiles": [ "<rootDir>/test/setup.js" ], "testMatch": [ "<rootDir>/test/**/*Test.js" ], "testEnvironment": "node" } }