-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
63 lines (63 loc) · 1.57 KB
/
package.json
File metadata and controls
63 lines (63 loc) · 1.57 KB
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
{
"name": "fakestorejs",
"version": "0.4.5",
"description": "FakeStoreJs make mocking easy, quickly create a CRUD acess to any object",
"main": "dist/index.js",
"files": ["dist"],
"author": "FabienGreard",
"license": "MIT",
"repository": {
"type": "git",
"url": "https://github.com/FabienGreard/fakeStoreJs.git"
},
"homepage": "https://github.com/FabienGreard/fakeStoreJs",
"scripts": {
"start": "node index.js",
"dev": "nodemon index.js --ignore db/",
"build": "ncc build index.js -m",
"test": "jest",
"coverage": "jest --coverage --watchAll",
"prettier": "prettier --single-quote --write **/*.{js,json,css,md}"
},
"prettier": {
"printWidth": 80,
"tabWidth": 2,
"useTabs": false,
"semi": true,
"singleQuote": true,
"trailingComma": "none",
"bracketSpacing": true,
"jsxBracketSameLine": false,
"fluid": false
},
"jest": {
"testEnvironment": "node",
"verbose": true,
"bail": true,
"testMatch": ["**/*.test.js?(x)"],
"testPathIgnorePatterns": ["node_modules/"],
"collectCoverageFrom": ["lib/*.js", "!lib/index.js"],
"coverageThreshold": {
"global": {
"branches": 80,
"functions": 80,
"lines": 80,
"statements": -10
}
}
},
"husky": {
"hooks": {
"pre-commit": "npm run prettier"
}
},
"dependencies": {},
"devDependencies": {
"@zeit/ncc": "0.9.0",
"jest": "23.6.0",
"husky": "1.3.1",
"nodemon": "1.18.9",
"prettier": "1.15.3"
},
"keywords": ["api", "mock", "fake", "store", "javascript"]
}