1 | {
|
2 | "name": "fakestorejs",
|
3 | "version": "0.4.5",
|
4 | "description": "FakeStoreJs make mocking easy, quickly create a CRUD acess to any object",
|
5 | "main": "dist/index.js",
|
6 | "files": ["dist"],
|
7 | "author": "FabienGreard",
|
8 | "license": "MIT",
|
9 | "repository": {
|
10 | "type": "git",
|
11 | "url": "https://github.com/FabienGreard/fakeStoreJs.git"
|
12 | },
|
13 | "homepage": "https://github.com/FabienGreard/fakeStoreJs",
|
14 | "scripts": {
|
15 | "start": "node index.js",
|
16 | "dev": "nodemon index.js --ignore db/",
|
17 | "build": "ncc build index.js -m",
|
18 | "test": "jest",
|
19 | "coverage": "jest --coverage --watchAll",
|
20 | "prettier": "prettier --single-quote --write **/*.{js,json,css,md}"
|
21 | },
|
22 | "prettier": {
|
23 | "printWidth": 80,
|
24 | "tabWidth": 2,
|
25 | "useTabs": false,
|
26 | "semi": true,
|
27 | "singleQuote": true,
|
28 | "trailingComma": "none",
|
29 | "bracketSpacing": true,
|
30 | "jsxBracketSameLine": false,
|
31 | "fluid": false
|
32 | },
|
33 | "jest": {
|
34 | "testEnvironment": "node",
|
35 | "verbose": true,
|
36 | "bail": true,
|
37 | "testMatch": ["**/*.test.js?(x)"],
|
38 | "testPathIgnorePatterns": ["node_modules/"],
|
39 | "collectCoverageFrom": ["lib/*.js", "!lib/index.js"],
|
40 | "coverageThreshold": {
|
41 | "global": {
|
42 | "branches": 80,
|
43 | "functions": 80,
|
44 | "lines": 80,
|
45 | "statements": -10
|
46 | }
|
47 | }
|
48 | },
|
49 | "husky": {
|
50 | "hooks": {
|
51 | "pre-commit": "npm run prettier"
|
52 | }
|
53 | },
|
54 | "dependencies": {},
|
55 | "devDependencies": {
|
56 | "@zeit/ncc": "0.9.0",
|
57 | "jest": "23.6.0",
|
58 | "husky": "1.3.1",
|
59 | "nodemon": "1.18.9",
|
60 | "prettier": "1.15.3"
|
61 | },
|
62 | "keywords": ["api", "mock", "fake", "store", "javascript"]
|
63 | }
|