-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
106 lines (106 loc) · 3.67 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
102
103
104
105
106
{
"name": "@frontender-magazine/fm-article",
"version": "1.6.1",
"description": "SDK for article service api",
"main": "lib/index.js",
"scripts": {
"postversion": "git push && git push --tags",
"version": "npm run build:prod && git add . -A",
"major": "npm version major && npm publish --tag latest --access public",
"minor": "npm version minor && npm publish --tag latest --access public",
"patch": "npm version patch && npm publish --tag latest --access public",
"dopreminor": "npm version preminor && npm publish --tag next --access public",
"dopremajor": "npm version premajor && npm publish --tag next --access public",
"doprepatch": "npm version prepatch && npm publish --tag next --access public",
"clean": "rimraf public lib",
"watch": "babel source --watch -s true -d lib --ignore source/__tests__/**/*,source/__mocks__/**/*",
"build": "npm run build:dev",
"build:dev": "babel source -s true -d lib --ignore source/__tests__/**/*,source/__mocks__/**/*",
"build:prod": "npm run clean && babel source --minified -d lib --ignore source/__tests__/**/*,source/__mocks__/**/* && 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"
},
"husky": {
"hooks": {
"pre-commit": "lint-staged"
}
},
"lint-staged": {
"*.{jsx,js}": [
"eslint --color -f stylish --fix",
"git add"
]
},
"repository": {
"type": "git",
"url": "[email protected]:FrontenderMagazineDevelopment/sdk.article.frontender.info.git"
},
"keywords": [
"FM Micro Service",
"Frontender Magazine",
"API"
],
"author": "Anton Nemtsev <[email protected]>",
"license": "CC-BY-4.0",
"devDependencies": {
"@babel/cli": "^7.4.3",
"@babel/core": "^7.4.3",
"@babel/plugin-proposal-class-properties": "^7.4.0",
"@babel/plugin-proposal-export-namespace-from": "^7.2.0",
"@babel/plugin-proposal-function-bind": "^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.4.3",
"@babel/preset-env": "^7.4.3",
"@plasma-platform/tm-message-hook": "^2.0.14",
"babel-eslint": "^10.0.1",
"documentation": "^9.3.1",
"eslint": "^5.16.0",
"eslint-config-airbnb": "^17.1.0",
"eslint-config-prettier": "^4.1.0",
"eslint-plugin-import": "^2.16.0",
"eslint-plugin-jest": "^22.4.1",
"eslint-plugin-jsx-a11y": "^6.2.1",
"eslint-plugin-prettier": "^3.0.1",
"eslint-plugin-react": "^7.12.4",
"husky": "^1.3.1",
"jest": "^24.7.0",
"jest-cli": "^24.7.0",
"lint-staged": "^8.1.5",
"nock": "^10.0.6",
"npm-run-all": "^4.1.5",
"prettier": "^1.16.4",
"rimraf": "^2.6.3"
},
"dependencies": {
"@frontender-magazine/service-api": "^1.3.0",
"isomorphic-fetch": "^2.2.1"
},
"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"
],
"unmockedModulePathPatterns": [],
"moduleFileExtensions": [
"js",
"json"
]
}
}