-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
33 lines (33 loc) · 1.09 KB
/
package.json
File metadata and controls
33 lines (33 loc) · 1.09 KB
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
{
"name": "re-opaque",
"version": "1.3.0",
"main": "index.js",
"license": "MIT",
"dependencies": {},
"devDependencies": {
"@glennsl/bs-json": "^5.0.2",
"bs-platform": "7.3.1",
"jest": "^26.1.0",
"lint-staged": "^10.2.11",
"prettier": "^2.0.5",
"reason-jest": "^1.1.1"
},
"peerDependencies": {
"@glennsl/bs-json": "^5",
"bs-platform": "^5 || ^7"
},
"scripts": {
"re:clean": "bsb -clean-world",
"re:build": "bsb -make-world",
"re:watch": "bsb -make-world -w",
"re:formatall": "find src __tests__ -name '*.re' | xargs npx bsrefmt --in-place",
"re:formatchanged": "git diff --name-only --diff-filter=d HEAD -- '*.re' | xargs -I{} realpath --relative-to=. $(git rev-parse --show-toplevel)/'{}' | while read f; do npx bsrefmt --in-place \"$f\"; done",
"prepare": "mkdir -p .git/hooks && cp .pre-commit-hook .git/hooks/pre-commit && chmod +x .git/hooks/pre-commit",
"test": "jest __tests__",
"test:watch": "jest __tests__ --watch"
},
"lint-staged": {
"*.{re,rei}": "bsrefmt --in-place",
"*.{js,json}": "prettier --write"
}
}