UNPKG

2.32 kBJSONView Raw
1{
2 "name": "observed-remove",
3 "version": "2.2.27",
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 dist/set.js --section='Set API' && documentation readme dist/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 "husky": {
23 "hooks": {
24 "pre-commit": "yarn lint && yarn documentation && yarn build && git add dist ./README.md"
25 }
26 },
27 "jest": {
28 "coverageDirectory": "./coverage/",
29 "collectCoverage": true,
30 "collectCoverageFrom": [
31 "src/*.js"
32 ],
33 "transformIgnorePatterns": [
34 "node_modules/(?!observed-remove)/"
35 ]
36 },
37 "devDependencies": {
38 "@babel/core": "^7.9.0",
39 "@babel/plugin-transform-flow-strip-types": "^7.9.0",
40 "babel-eslint": "^10.1.0",
41 "babel-jest": "^25.3.0",
42 "codecov": "^3.6.5",
43 "cross-env": "^7.0.2",
44 "documentation": "^12.3.0",
45 "eslint": "^6.8.0",
46 "eslint-config-bunchtogether": "^1.1.6",
47 "eslint-plugin-flowtype": "^4.7.0",
48 "eslint-plugin-flowtype-errors": "^4.2.0",
49 "eslint-plugin-import": "^2.20.2",
50 "eslint-plugin-jest": "^23.8.2",
51 "eslint-plugin-jsx-a11y": "^6.2.3",
52 "eslint-plugin-react": "^7.19.0",
53 "expect": "^25.3.0",
54 "flow-bin": "^0.122.0",
55 "flow-copy-source": "^2.0.9",
56 "flow-remove-types": "^2.122.0",
57 "flow-typed": "^3.1.0",
58 "husky": "^4.2.5",
59 "jest": "^25.3.0",
60 "uuid": "^7.0.3"
61 },
62 "dependencies": {
63 "@bunchtogether/hash-object": "^1.0.3",
64 "json-stringify-deterministic": "^1.0.1",
65 "node-rsa": "^1.0.8"
66 }
67}