-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
69 lines (69 loc) · 1.66 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
{
"name": "@shelf/xxxxxx",
"version": "0.0.0",
"description": "xxxxxx",
"license": "MIT",
"author": {
"name": "Vlad Holubiev",
"email": "vlad@shelf.io",
"url": "https://shelf.io"
},
"files": [
"lib"
],
"main": "lib",
"types": "lib/index.d.ts",
"scripts": {
"build": "rm -rf lib/ && yarn build:types && yarn build:code",
"build:code": "babel src --out-dir lib --ignore '**/*.test.ts' --extensions '.ts' && find ./lib -name '*.test.d.ts' -delete",
"build:types": "tsc --emitDeclarationOnly --declaration --isolatedModules false --declarationDir lib",
"coverage": "jest --coverage",
"lint": "eslint . --ext .js,.ts,.json --fix",
"lint:ci": "eslint . --ext .js,.ts,.json",
"prepack": "yarn build",
"test": "jest src",
"type-check": "tsc --noEmit",
"type-check:watch": "npm run type-check -- --watch"
},
"husky": {
"hooks": {
"pre-commit": "lint-staged"
}
},
"lint-staged": {
"*.{html,json,md,yml}": [
"prettier --write",
"git add"
],
"*.{js,ts}": [
"eslint --fix",
"git add"
]
},
"jest": {
"testEnvironment": "node"
},
"dependencies": {},
"devDependencies": {
"@babel/cli": "7.8.3",
"@babel/core": "7.8.3",
"@babel/preset-env": "7.8.3",
"@babel/preset-typescript": "7.8.3",
"@shelf/eslint-config": "0.14.2",
"@types/jest": "25.1.0",
"@types/node": "12",
"babel-jest": "25.1.0",
"eslint": "6.8.0",
"husky": "4.2.1",
"jest": "25.1.0",
"lint-staged": "10.0.4",
"prettier": "1.19.1",
"typescript": "3.7.5"
},
"engines": {
"node": ">=12"
},
"publishConfig": {
"access": "public"
}
}