-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
64 lines (64 loc) · 1.98 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
{
"name": "balamb",
"version": "1.3.0",
"author": "Thom Wright",
"description": "Seeding data using DAGs",
"keywords": [
"data",
"seeding",
"seed",
"dag",
"async"
],
"license": "MIT",
"main": "lib/index.js",
"types": "lib/index.d.ts",
"bin": {
"balamb": "./src/bin/balamb.ts"
},
"scripts": {
"checkPushed": "[ \"$(git rev-list --count @{upstream}..HEAD)\" -eq 0 ] || (echo You have unpushed commits && exit 1)",
"prepublishOnly": "npm run checkPushed && npm test && npm run build",
"check-ts-types": "tsc --noEmit",
"lint": "eslint --ext ts src/ test/",
"fix-linting": "eslint --fix --ext ts src/ test/",
"check-formatting": "./node_modules/.bin/prettier '**/*.ts' --list-different",
"fix-formatting-all": "./node_modules/.bin/prettier '**/*.ts' --write",
"fix-formatting": "./node_modules/.bin/prettier $(git status --porcelain | sed 's/^...//' | grep -E '\\.tsx?$') --write",
"build": "rm -rf ./lib && tsc --project tsconfig-build.json",
"test": "mocha --config test/.mocharc.json"
},
"husky": {
"hooks": {
"commit-msg": "node ./node_modules/fit-commit-js/lib/hook.js .git/COMMIT_EDITMSG",
"pre-commit": "npm run check-formatting && npm run lint && npm run check-ts-types",
"pre-push": "npm run test"
}
},
"engines": {
"node": ">=12.0.0"
},
"dependencies": {
"ts-expect": "^1.3.0",
"type-fest": "^0.21.3"
},
"devDependencies": {
"@types/chai": "^4.2.15",
"@types/mocha": "^8.2.1",
"@types/node": "^12.20.6",
"@typescript-eslint/eslint-plugin": "^4.18.0",
"@typescript-eslint/parser": "^4.18.0",
"chai": "^4.3.4",
"eslint": "^7.22.0",
"eslint-config-prettier": "^8.1.0",
"eslint-plugin-import": "^2.22.1",
"eslint-plugin-mocha-no-only": "^1.1.1",
"eslint-plugin-prettier": "^3.3.1",
"fit-commit-js": "^0.3.2",
"husky": "^4.3.8",
"mocha": "^8.3.2",
"prettier": "^2.2.0",
"ts-node": "^9.0.0",
"typescript": "^4.2.3"
}
}