UNPKG

2.32 kBJSONView Raw
1{
2 "name": "observed-remove",
3 "version": "2.0.0",
4 "main": "dist/index.js",
5 "repository": "git@github.com:wehriam/observed-remove",
6 "author": "John Wehr <johnwehr@gmail.com>",
7 "license": "MIT",
8 "scripts": {
9 "build": "rm -rf ./dist; flow-remove-types ./src --out-dir ./dist && flow-copy-source ./src ./dist",
10 "flow-typed": "./node_modules/.bin/flow-typed install --overwrite",
11 "test": "yarn lint && yarn test:js",
12 "test:js": "cross-env NODE_ENV=test jest tests",
13 "lint": "npm run lint:js && npm run lint:flow",
14 "lint:js": "eslint -c ./.eslintrc --no-eslintrc --fix .",
15 "lint:flow": "flow --show-all-errors",
16 "coverage": "codecov",
17 "documentation": "documentation readme src/set.js --section='Set API' && documentation readme src/map.js --section='Map API'",
18 "start-pre-commit": "git stash -q --keep-index",
19 "end-pre-commit": "git add -u && git stash pop -q",
20 "profile": "yarn build; clear; node --prof profile/map.js; node --prof-process $(ls isolate-*); rm isolate-*"
21 },
22 "pre-commit": [
23 "lint",
24 "start-pre-commit",
25 "build",
26 "documentation",
27 "end-pre-commit"
28 ],
29 "jest": {
30 "coverageDirectory": "./coverage/",
31 "collectCoverage": true,
32 "collectCoverageFrom": [
33 "src/*.js"
34 ],
35 "transformIgnorePatterns": [
36 "node_modules/(?!observed-remove)/"
37 ],
38 "transform": {
39 "^.+\\.js(?:\\.flow)?$": "jest-flow-transform"
40 }
41 },
42 "devDependencies": {
43 "babel-eslint": "^8.2.3",
44 "codecov": "^3.0.2",
45 "cross-env": "^5.2.0",
46 "documentation": "^8.0.0",
47 "eslint": "^4.19.1",
48 "eslint-config-bunchtogether": "^1.1.6",
49 "eslint-plugin-flowtype": "^2.49.3",
50 "eslint-plugin-flowtype-errors": "^3.6.0",
51 "eslint-plugin-import": "^2.12.0",
52 "eslint-plugin-jest": "^21.17.0",
53 "eslint-plugin-jsx-a11y": "^6.0.3",
54 "eslint-plugin-react": "^7.9.1",
55 "expect": "^23.1.0",
56 "flow-bin": "^0.64.0",
57 "flow-remove-types": "^1.2.3",
58 "flow-typed": "^2.4.0",
59 "jest": "^23.1.0",
60 "jest-flow-transform": "^1.0.1",
61 "pre-commit": "^1.2.2",
62 "uuid": "^3.2.1"
63 },
64 "dependencies": {
65 "directed-graph-map": "^1.2.3",
66 "flow-copy-source": "^2.0.0",
67 "json-stringify-deterministic": "^1.0.1",
68 "murmur-hash": "^1.0.0",
69 "node-rsa": "^1.0.0"
70 }
71}