-
Notifications
You must be signed in to change notification settings - Fork 11
/
package.json
40 lines (40 loc) · 1.21 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
{
"name": "so-fetch-js",
"version": "0.4.2",
"description": "A nice wrapper around the fetch API with some extras",
"main": "dist/index",
"typings": "dist/index",
"author": "Jack Franklin",
"license": "MIT",
"scripts": {
"test":
"yarn run tslint && yarn run type-check && yarn run prettier:check:all && NODE_ENV=test yarn run jest",
"test:watch": "jest --watch",
"compile": "tsc -p tsconfig.build.json",
"type-check": "tsc -p tsconfig.json",
"prepack": "yarn test && yarn run compile",
"tslint": "tslint 'src/**/*.ts'",
"prettier:check:all": "prettier -l 'src/**/*.ts'"
},
"files": ["src", "dist"],
"jest": {
"setupTestFrameworkScriptFile": "./test-setup.ts",
"transform": {
"^.+\\.tsx?$": "ts-jest"
},
"testRegex": "(/__tests__/.*|(\\.|/)(test|spec))\\.(tsx?)$",
"moduleFileExtensions": ["ts", "tsx", "js", "jsx", "json", "node"],
"testURL": "http://localhost/"
},
"devDependencies": {
"@types/fetch-mock": "^6.0.1",
"@types/jest": "^22.2.2",
"fetch-mock": "6.3.0",
"isomorphic-fetch": "^2.2.1",
"jest": "22.4.3",
"prettier": "1.11.1",
"ts-jest": "^22.4.2",
"tslint": "^5.9.1",
"typescript": "^2.7.2"
}
}