-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathpackage.json
39 lines (39 loc) · 1.23 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
{
"name": "reason-jest",
"version": "2.2.0",
"description": "Minimal bindings for Jest",
"main": "index.js",
"repository": "https://github.com/adnelson/re-jest",
"author": "Allen Nelson ([email protected])",
"license": "MIT",
"peerDependencies": {
"bs-platform": "^5 || ^7 || ^8",
"jest": "*"
},
"devDependencies": {
"bs-platform": "7.3.1",
"jest": "^26.1.0",
"lint-staged": "^10.2.11",
"prettier": "^2.0.5"
},
"scripts": {
"version": "npm version",
"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",
"test": "jest --testPathPattern '__tests__/.*Tests?.bs.js$'",
"test:watch": "yarn test --watch",
"prepare": "mkdir -p .git/hooks && cp .pre-commit-hook .git/hooks/pre-commit"
},
"lint-staged": {
"*.{re,rei}": [
"bsrefmt --in-place"
],
"*.{json,yaml}": [
"prettier --write"
]
},
"dependencies": {}
}