-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
95 lines (95 loc) · 2.7 KB
/
Copy pathpackage.json
File metadata and controls
95 lines (95 loc) · 2.7 KB
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
{
"name": "kefetchup",
"version": "1.2.0",
"description": "Simple fetch client API to spice up your application",
"keywords": [],
"main": "dist/lib/index.js",
"module": "dist/kefetchup.es.js",
"unpkg": "dist/kefetchup.iife.js",
"typings": "dist/types/index.d.ts",
"files": [
"src",
"dist",
"index.ts",
"logo"
],
"author": "Karen <dev.kaskar2008@gmail.com>",
"repository": "KazanExpress/kefetchup",
"bugs": {
"url": "https://github.com/KazanExpress/kefetchup/issues"
},
"license": "MIT",
"engines": {
"node": ">=8.0.0"
},
"scripts": {
"prebuild": "rimraf dist",
"build:es": "tsc --module es6 --target es6 --outDir ./dist/es",
"build:cjs": "tsc --module commonjs --target es5 --outDir ./dist/cjs",
"build": "npm run build:cjs && npm run build:es && rollup -c rollup.config.ts",
"start": "rollup -c rollup.config.ts -w",
"test": "jest",
"test:watch": "jest --watch",
"test:prod": "npm run test -- --coverage --no-cache",
"coverage": "cat ./coverage/lcov.info | coveralls",
"preversion": "npm run test:prod && npm run build && (git add .) && git commit -m \"Update dist - fresh build\"",
"patch": "npm version patch && npm publish && git push",
"minor": "npm version minor && npm publish && git push",
"major": "npm version major && npm publish && git push"
},
"jest": {
"testURL": "http://google.com/",
"transform": {
".(ts|tsx)": "<rootDir>/node_modules/ts-jest/preprocessor.js"
},
"testEnvironment": "jsdom",
"testRegex": "(/__tests__/.*|\\.(test|spec))\\.(ts|tsx|js)$",
"moduleFileExtensions": [
"ts",
"tsx",
"js"
],
"coverageReporters": [
"lcov",
"text"
],
"coveragePathIgnorePatterns": [
"/node_modules/",
"/test/",
"/dist/"
],
"coverageThreshold": {
"global": {
"branches": 90,
"functions": 95,
"lines": 95,
"statements": 95
}
},
"collectCoverage": true
},
"devDependencies": {
"@kazanexpress/frontend-commitlint": "^1.2.1",
"@types/jest": "^22.0.0",
"@types/node": "^10.0.3",
"@types/node-fetch": "^2.1.2",
"colors": "^1.1.2",
"coveralls": "^3.0.0",
"cross-env": "^5.0.1",
"isomorphic-fetch": "^2.2.1",
"jest": "^24.6.0",
"lodash.camelcase": "^4.3.0",
"rimraf": "^2.6.1",
"rollup": "^0.59.2",
"rollup-plugin-commonjs": "^9.0.0",
"rollup-plugin-json": "^3.0.0",
"rollup-plugin-node-resolve": "^3.0.0",
"rollup-plugin-sourcemaps": "^0.4.2",
"rollup-plugin-typescript2": "^0.13.0",
"rollup-plugin-uglify": "^6.0.0",
"ts-jest": "^24.0.1",
"ts-node": "^6.0.0",
"typescript": "^3.0.0"
},
"dependencies": {}
}