-
Notifications
You must be signed in to change notification settings - Fork 12
/
package.json
54 lines (54 loc) · 1.59 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
{
"name": "data-mocks",
"version": "4.1.0",
"main": "dist/mocks.js",
"types": "dist/types.d.ts",
"repository": "git@github.com:grug/data-mocks.git",
"author": "Dave Cooper <dave@davecooper.dev>",
"license": "MIT",
"homepage": "https://github.com/grug/data-mocks",
"scripts": {
"clean": "rimraf dist",
"prepublishOnly": "yarn build",
"build": "yarn clean && tsc && babel dist/mocks.js --out-file dist/mocks.js && uglifyjs dist/mocks.js -mco dist/mocks.js",
"test": "jest",
"publish:patch": "git checkout master && git pull && yarn version --patch && yarn publish --non-interactive && git push",
"publish:minor": "git checkout master && git pull && yarn version --minor && yarn publish --non-interactive && git push",
"publish:major": "git checkout master && git pull && yarn version --major && yarn publish --non-interactive && git push"
},
"husky": {
"hooks": {
"pre-commit": "pretty-quick --staged"
}
},
"dependencies": {
"fetch-mock": "^9.4.0",
"query-string": "^5.1.1",
"xhr-mock": "^2.5.1"
},
"devDependencies": {
"@babel/cli": "^7.2.0",
"@babel/core": "^7.2.0",
"@babel/preset-env": "^7.2.0",
"@types/jest": "^25.2.1",
"@types/query-string": "^5.1.0",
"axios": "^0.18.1",
"husky": "^1.1.1",
"isomorphic-fetch": "^2.2.1",
"jest": "^25.4.0",
"prettier": "^2.0.5",
"pretty-quick": "^2.0.1",
"rimraf": "^3.0.2",
"ts-jest": "^25.4.0",
"typescript": "^3.8.3",
"uglify-js": "^3.4.9"
},
"keywords": [
"mocking",
"mocks",
"testing",
"rest",
"graphql",
"api"
]
}