-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
101 lines (101 loc) · 3.35 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
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
{
"name": "@frontender-magazine/fm-user",
"version": "1.0.9",
"description": "SDK for user service api",
"main": "lib/index.js",
"scripts": {
"release": "npm version patch && git push && git push --tags && npm publish --access public",
"clean": "rimraf public lib",
"watch": "babel source --watch -s true -d lib --ignore __tests__/**,__mocks__/**",
"build": "npm run build:dev",
"build:dev": "babel source -s true -d lib --ignore __tests__/**,__mocks__/**",
"build:prod": "npm run clean && babel source --minified -s true -d lib --ignore __tests__/**,__mocks__/** && npm run minify && npm run build:doc && npm run build:readme",
"build:doc": "documentation build source/*.js -o public -f html",
"build:readme": "documentation readme source/*.js -s 'Documentation'",
"lint": "npm run format && npm-run-all lint:*",
"lint:js": "eslint ./source/** --ext .jsx,.js --color -f stylish --fix",
"test": "jest",
"minify": "minify lib -d lib --removeConsole --removeDebugger",
"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}"
},
"lint-staged": {
"*.{jsx,js}": [
"npm run format",
"eslint --color -f stylish --fix",
"git add . -A"
]
},
"repository": {
"type": "git",
"url": "[email protected]:FrontenderMagazineDevelopment/sdk.user.frontender.info.git"
},
"keywords": [
"FM Micro Service",
"Frontender Magazine",
"API"
],
"author": "Anton Nemtsev <[email protected]>",
"license": "CC-BY-4.0",
"dependencies": {
"@plasma-platform/tm-message-hook": "^1.0.1",
"babel-cli": "^6.24.1",
"babel-core": "^6.24.1",
"babel-eslint": "^7.2.3",
"babel-jest": "^20.0.3",
"babel-minify": "^0.2.0",
"babel-polyfill": "^6.26.0",
"babel-preset-env": "^1.5.2",
"babel-preset-stage-0": "^6.24.1",
"documentation": "^5.1.1",
"enzyme": "^2.9.1",
"eslint": "^3.19.0",
"eslint-config-airbnb": "^15.0.1",
"eslint-config-prettier": "^2.4.0",
"eslint-plugin-import": "^2.7.0",
"eslint-plugin-jest": "^21.0.2",
"eslint-plugin-jsx-a11y": "^5.1.1",
"eslint-plugin-prettier": "^2.2.0",
"eslint-plugin-react": "^7.3.0",
"husky": "^0.14.3",
"isomorphic-fetch": "^2.2.1",
"jest": "^20.0.4",
"jest-cli": "^20.0.4",
"jest-enzyme": "^3.6.1",
"lint-staged": "^4.1.3",
"nock": "^9.0.14",
"npm-run-all": "^4.1.1",
"prettier": "^1.6.1",
"react": "^15.6.1",
"react-dom": "^15.6.1",
"react-test-renderer": "^15.6.1",
"rimraf": "^2.6.2",
"tm-service-api": "^2.0.4"
},
"jest": {
"automock": false,
"collectCoverage": true,
"collectCoverageFrom": [
"!**/__mocks__/**",
"!**/__tests__/**",
"source/**.js"
],
"moduleNameMapper": {
"^.+\\.(jpg|jpeg|png|gif|eot|otf|webp|svg|ttf|woff|woff2|mp4|webm|wav|mp3|m4a|aac|oga|po)$": "<rootDir>/__mocks__/fileMock.js",
"^.+\\.(css|less)$": "<rootDir>/__mocks__/styleMock.js"
},
"coverageDirectory": "./coverage/",
"coverageReporters": [
"clover",
"json",
"text"
],
"setupTestFrameworkScriptFile": "./node_modules/jest-enzyme/lib/index.js",
"unmockedModulePathPatterns": [],
"moduleFileExtensions": [
"js",
"json"
]
}
}