-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
66 lines (66 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
{
"name": "gjallarhornjs",
"version": "0.0.3",
"description": "A library for timing things",
"license": "MIT",
"repository": "https://github.com/envoy/gjallarhornjs",
"author": "Chris Freeman",
"main": "dist/cjs/index.js",
"module": "dist/es/index.js",
"scripts": {
"build": "yarn clean && yarn ts:all",
"clean": "rimraf dist",
"format": "yarn lint --fix && yarn format-package --write",
"lint": "eslint src/*.ts __tests__/*.ts",
"postublish": "yarn clean",
"prepublishOnly": "yarn test && yarn build",
"test": "jest && yarn lint",
"test:watch": "jest --watch",
"ts:all": "yarn ts:cjs && yarn ts:es && yarn ts:typedefs",
"ts:cjs": "tsc -p ts/cjs.tsconfig.json",
"ts:es": "tsc -p ts/es.tsconfig.json",
"ts:typedefs": "tsc --emitDeclarationOnly"
},
"files": [
"dist"
],
"husky": {
"hooks": {
"pre-commit": "yarn format"
}
},
"jest": {
"globals": {
"ts-jest": {
"tsConfigFile": "./ts/jest.tsconfig.json"
}
},
"moduleFileExtensions": [
"ts",
"js"
],
"testMatch": [
"**/__tests__/*.+(ts)"
],
"transform": {
"^.+\\.ts$": "ts-jest"
}
},
"types": "dist/types/index.d.ts",
"dependencies": {},
"devDependencies": {
"@types/jest": "^23.1.3",
"eslint": "^5.0.1",
"eslint-config-prettier": "^2.9.0",
"eslint-plugin-prettier": "^2.6.1",
"eslint-plugin-typescript": "^0.12.0",
"format-package": "^4.5.0",
"husky": "^1.0.0-rc.9",
"jest": "^23.2.0",
"prettier": "1.13.7",
"rimraf": "^2.6.2",
"ts-jest": "^22.4.6",
"typescript": "^2.9.2",
"typescript-eslint-parser": "^16.0.1"
}
}