-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
80 lines (80 loc) · 2.45 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
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
{
"name": "users_frontender_magazine",
"version": "1.0.0",
"private": false,
"description": "Users Frontender Magazine",
"keywords": [],
"author": "Anton Nemtsev <[email protected]>",
"contributors": [
{
"name": "Anton Nemtsev",
"email": "[email protected]"
}
],
"license": "CC-BY-4.0",
"main": "server.js",
"scripts": {
"lint": "npm run format && npm-run-all lint:*",
"lint:js": "eslint ./source/** --ext .js --color -f stylish --fix",
"format": "prettier --write --single-quote --print-width 100 --trailing-comma all 'source/**/*.{js,jsx}'",
"precommit": "git add . -A && lint-staged",
"commitmsg": "commit-msg ${GIT_PARAMS}",
"start": "node ./build/server.js",
"build": "babel source --minified -s true -d build --ignore __tests__/**,__mocks__/**",
"watch": "babel source --watch --minified -s true -d build --ignore __tests__/**,__mocks__/**"
},
"lint-staged": {
"*.{js}": [
"npm run format",
"eslint --color -f stylish --fix",
"git add"
]
},
"jest": {
"modulePaths": [
"source/"
],
"moduleNameMapper": {
"\\.(jpg|jpeg|png|gif|eot|otf|webp|svg|ttf|woff|woff2|mp4|webm|wav|mp3|m4a|aac|oga)$": "<rootDir>/source/__mocks__/fileMock.js",
"\\.(css|less|pcss)$": "<rootDir>/source/__mocks__/styleMock.js"
},
"coverageReporters": [
"clover",
"json",
"text",
"html"
]
},
"devDependencies": {
"@babel/cli": "^7.2.3",
"@babel/core": "^7.3.3",
"@babel/plugin-proposal-export-namespace-from": "^7.2.0",
"@babel/plugin-syntax-dynamic-import": "^7.2.0",
"@babel/plugin-syntax-export-default-from": "^7.2.0",
"@babel/plugin-transform-runtime": "^7.2.0",
"@babel/preset-env": "^7.3.1",
"@plasma-platform/tm-message-hook": "^2.0.12",
"babel-eslint": "^10.0.1",
"documentation": "^9.1.1",
"eslint": "^5.14.0",
"eslint-config-airbnb": "^17.1.0",
"eslint-config-prettier": "^4.0.0",
"eslint-plugin-import": "^2.16.0",
"eslint-plugin-jest": "^22.3.0",
"eslint-plugin-jsx-a11y": "^6.2.1",
"eslint-plugin-react": "^7.12.4",
"lint-staged": "^8.1.4",
"prettier": "^1.16.4"
},
"dependencies": {
"dotenv": "^6.2.0",
"fs": "0.0.2",
"joi": "^14.3.1",
"mongoose": "^5.4.13",
"npm-run-all": "^4.1.5",
"restify": "^7.7.0",
"restify-cookies": "^0.2.5",
"restify-joi-middleware": "^5.0.1",
"restify-jwt-community": "^1.0.9"
}
}