-
Notifications
You must be signed in to change notification settings - Fork 4
/
package.json
60 lines (60 loc) · 1.69 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
{
"name": "data-snapshot",
"version": "1.0.1",
"description": "Generic mock data manager for real endpoints.",
"author": "Nick Dreckshage <[email protected]>",
"license": "BSD-2-Clause",
"main": "dist",
"repository": "https://github.com/wayfair/data-snapshot",
"keywords": [
"unit-test",
"snapshot",
"jest",
"data"
],
"scripts": {
"build": "npm run build:dist && npm run build:flow",
"build:clean": "rimraf dist",
"build:dist": "babel src --out-dir dist --ignore '**/__tests__/**'",
"build:flow": "flow-copy-source -v -i '**/__tests__/**' src dist",
"prepublishOnly": "npm run build:clean && npm run test && npm run build",
"test": "eslint src && flow && jest",
"lint": "eslint src/**/*.js",
"lint:md": "markdownlint **/*.md --ignore node_modules",
"jest": "jest",
"format": "prettier --write src/**/*.js",
"format:check": "prettier --check src/**/*.js"
},
"dependencies": {
"chalk": "4.1.2"
},
"devDependencies": {
"babel-cli": "6.26.0",
"babel-core": "6.26.3",
"babel-eslint": "8.2.3",
"babel-jest": "23.6.0",
"babel-plugin-transform-flow-strip-types": "6.22.0",
"babel-preset-es2015": "6.24.1",
"babel-preset-stage-1": "6.24.1",
"eslint": "4.19.1",
"flow-bin": "0.66.0",
"flow-copy-source": "2.0.2",
"jest": "23.6.0",
"markdownlint-cli": "^0.31.1",
"prettier": "2.7.1",
"rimraf": "3.0.2"
},
"jest": {
"collectCoverage": true,
"coverageDirectory": "./coverage/",
"testRegex": "__tests__[\\/].+(spec)\\.js$",
"testURL": "http://localhost/",
"testPathIgnorePatterns": [
"/node_modules/",
"/dist/"
]
},
"files": [
"dist"
]
}