-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
93 lines (93 loc) · 3.18 KB
/
package.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
{
"name": "observed-remove",
"version": "2.3.01",
"repository": "git@github.com:wehriam/observed-remove",
"author": "John Wehr <johnwehr@gmail.com>",
"license": "MIT",
"main": "dist/cjs/index.js",
"module": "dist/esm/index.js",
"exports": {
"./package.json": "./package.json",
".": {
"require": "./dist/cjs/index.js",
"import": "./dist/esm/index.js"
},
"./map": {
"require": "./dist/cjs/map.js",
"import": "./dist/esm/map.js"
},
"./set": {
"require": "./dist/cjs/set.js",
"import": "./dist/esm/set.js"
},
"./signed-map": {
"require": "./dist/cjs/signed-map.js",
"import": "./dist/esm/signed-map.js"
},
"./signed-set": {
"require": "./dist/cjs/signed-set.js",
"import": "./dist/esm/signed-set.js"
}
},
"scripts": {
"build:esm": "cross-env BABEL_ENV=esm babel ./src --out-dir ./dist/esm --source-maps && flow-copy-source ./src ./dist/esm",
"build:cjs": "cross-env BABEL_ENV=cjs babel ./src --out-dir ./dist/cjs --source-maps && flow-copy-source ./src ./dist/cjs",
"build": "rm -rf ./dist && yarn build:esm && yarn build:cjs",
"flow-typed": "./node_modules/.bin/flow-typed install --overwrite",
"test": "yarn lint && yarn test:js",
"test:js": "cross-env NODE_ENV=test jest tests",
"lint": "npm run lint:js && npm run lint:flow",
"lint:js": "eslint -c ./.eslintrc --no-eslintrc --fix .",
"lint:flow": "flow --show-all-errors",
"coverage": "codecov",
"documentation": "documentation readme dist/set.js --section='Set API' && documentation readme dist/map.js --section='Map API'",
"profile": "yarn build; clear; node --prof profile/map.js; node --prof-process $(ls isolate-*); rm isolate-*"
},
"jest": {
"coverageDirectory": "./coverage/",
"collectCoverage": true,
"collectCoverageFrom": [
"src/*.js"
],
"transformIgnorePatterns": [
"node_modules/(?!observed-remove)/"
]
},
"devDependencies": {
"@babel/cli": "^7.16.8",
"@babel/core": "^7.16.12",
"@babel/eslint-parser": "^7.16.5",
"@babel/plugin-proposal-class-properties": "^7.16.5",
"@babel/plugin-transform-flow-strip-types": "^7.16.5",
"@babel/preset-env": "^7.16.11",
"@babel/plugin-proposal-class-properties": "^7.16.7",
"@babel/plugin-transform-flow-strip-types": "^7.16.7",
"@babel/plugin-transform-modules-commonjs": "^7.16.8",
"@babel/preset-flow": "^7.16.7",
"babel-jest": "^27.4.6",
"codecov": "^3.8.2",
"cross-env": "^7.0.3",
"documentation": "^13.2.5",
"eslint": "^8.8.0",
"eslint-config-bunchtogether": "^1.1.6",
"eslint-plugin-flowtype": "^8.0.3",
"eslint-plugin-flowtype-errors": "^4.5.0",
"eslint-plugin-import": "^2.25.4",
"eslint-plugin-jest": "^26.0.0",
"eslint-plugin-jsx-a11y": "^6.5.1",
"eslint-plugin-react": "^7.28.0",
"expect": "^27.4.6",
"flow-bin": "^0.130.0",
"flow-copy-source": "^2.0.9",
"flow-remove-types": "^2.170.0",
"flow-typed": "^3.6.1",
"husky": "^7.0.4",
"jest": "^27.4.7",
"uuid": "^8.3.2"
},
"dependencies": {
"@bunchtogether/hash-object": "^1.0.7",
"json-stringify-deterministic": "^1.0.2",
"node-rsa": "^1.1.1"
}
}