-
Notifications
You must be signed in to change notification settings - Fork 7
/
Copy pathpackage.json
62 lines (62 loc) · 1.54 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
{
"name": "buoy-kit",
"version": "0.1.3",
"description": "Fetch buoy and tide information from government NDBC data using JavaScript.",
"main": "dist/index.js",
"types": "dist/index.d.ts",
"repository": "github.com/derekdowling/buoy-kit",
"author": "Derek Dowling",
"license": "MIT",
"files": [
"dist/"
],
"scripts": {
"build": "tsc -p tsconfig.build.json",
"clean": "rm -rf dist",
"prepublishOnly": "yarn prettier && yarn test && yarn clean && yarn build",
"prettier": "prettier -l \"src/**/*.{ts,json,js}\"",
"prettier:fix": "prettier --write \"src/**/*.{ts,js,json}\"",
"test": "jest",
"test:watch": "jest --watch"
},
"devDependencies": {
"@babel/core": "^7.2.0",
"@babel/plugin-proposal-class-properties": "^7.2.1",
"@babel/plugin-proposal-object-rest-spread": "^7.2.0",
"@babel/preset-env": "^7.2.0",
"@babel/preset-typescript": "^7.1.0",
"@types/jest": "^23.3.10",
"babel-core": "^7.0.0-bridge",
"babel-jest": "^23.6.0",
"husky": "^1.2.0",
"jest": "^23.6.0",
"prettier": "^1.15.3",
"pretty-quick": "^1.8.0",
"typescript": "^3.2.1"
},
"husky": {
"hooks": {
"pre-commit": "pretty-quick --staged"
}
},
"prettier": {
"singleQuote": true,
"trailingComma": "all"
},
"jest": {
"notify": true,
"transform": {
"^.+\\.tsx?$": "babel-jest"
},
"rootDir": "./src",
"testRegex": "test\\.tsx?$",
"moduleFileExtensions": [
"ts",
"tsx",
"js",
"jsx",
"json",
"node"
]
}
}