-
Notifications
You must be signed in to change notification settings - Fork 1
/
package.json
158 lines (158 loc) · 4.38 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
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
{
"name": "oxid",
"version": "0.0.5",
"description": "Isomorphic http request based on rxjs observable",
"main": "./dist/cjs/index.js",
"module": "./dist/esm/index.js",
"types": "./dist/types/index.d.ts",
"browser": {
"./dist/cjs/adapters/http.js": "./dist/cjs/adapters/xhr.js",
"./dist/esm/adapters/http.js": "./dist/esm/adapters/xhr.js",
"./dist/cjs/utils/node/isURLSearchParams.js": "./dist/cjs/utils/browser/isURLSearchParams.js",
"./dist/esm/utils/node/isURLSearchParams.js": "./dist/esm/utils/browser/isURLSearchParams.js"
},
"engines": {
"npm": ">=6",
"node": ">=8"
},
"config": {
"commitizen": {
"path": "cz-conventional-changelog"
}
},
"nyc": {
"include": [
"src/*.ts",
"src/**/*.ts"
],
"exclude": [
"node_modules"
],
"extension": [
".ts"
],
"reporter": [
"json"
],
"reportDir": "coverage/nyc",
"all": true,
"produce-source-map": true,
"sourceMap": true
},
"lint-staged": {
"*.{ts,js}": [
"prettier --write --single-quote --print-width 120 --jsx-bracket-same-line true",
"tslint --fix",
"git add"
]
},
"size-limit": [
{
"path": "dist/cjs/index.js",
"limit": "10 KB"
},
{
"path": "dist/esm/index.js",
"limit": "9 KB"
}
],
"husky": {
"hooks": {
"commit-msg": "commitlint -e",
"pre-commit": "lint-staged",
"pre-push": "npm-run-all lint:* prepare test:unit"
}
},
"scripts": {
"prepublishOnly ": "npm-run-all prepush test",
"prepare": "npm-run-all build:clean build:metadata build",
"test": "npm-run-all test:*",
"test:unit": "cross-env TS_NODE_FILES=true TS_NODE_PROJECT=tsconfig.json mocha --reporter dot --require ts-node/register --require source-map-support/register --recursive --bail \"spec/**/*.ts\"",
"test:coverage": "nyc npm run test:unit",
"test:karma": "karma start --single-run",
"test:size": "size-limit",
"lint:code": "tslint -c tslint.json -p tsconfig.json \"src/**/*.ts\" \"spec/**/*.ts\"",
"lint:circular": "depcruise --validate .dependency-cruiser.json -x \"^node_modules\" src",
"build": "tsc -b --verbose ./src/tsconfig.cjs.json ./src/tsconfig.esm.json ./src/tsconfig.types.json ./spec/tsconfig.json",
"build:metadata": "ts-node ./scripts/buildMetadata.ts",
"build:clean": "shx rm -rf ./dist",
"commit": "git-cz -S",
"changelog": "conventional-changelog -p angular -i CHANGELOG.md -s"
},
"repository": {
"type": "git",
"url": "git+https://github.com/kwonoj/oxid.git"
},
"keywords": [
"Rx",
"RxJS",
"ReactiveX",
"ReactiveExtensions",
"Streams",
"Observables",
"Observable",
"Stream",
"ES6",
"ES2015",
"http",
"xmlhttprequest",
"ajax"
],
"author": "OJ Kwon <kwon.ohjoong@gmail.com>",
"license": "MIT",
"bugs": {
"url": "https://github.com/kwonoj/oxid/issues"
},
"homepage": "https://github.com/kwonoj/oxid#readme",
"devDependencies": {
"@commitlint/cli": "^7.2.1",
"@commitlint/config-angular": "^7.0.1",
"@types/chai": "^4.1.7",
"@types/chai-subset": "^1.3.1",
"@types/mocha": "^5.2.5",
"@types/node": "^10.12.10",
"@types/sinon": "^5.0.7",
"@types/webpack": "^4.4.19",
"chai": "^4.2.0",
"chai-subset": "^1.6.0",
"commitizen": "^3.0.4",
"conventional-changelog-cli": "^2.0.11",
"cross-env": "^5.2.0",
"cz-conventional-changelog": "2.1.0",
"dependency-cruiser": "^4.6.3",
"husky": "^1.2.0",
"istanbul-instrumenter-loader": "^3.0.1",
"karma": "^3.1.1",
"karma-chrome-launcher": "^2.2.0",
"karma-coverage-istanbul-reporter": "^2.0.4",
"karma-mocha": "^1.3.0",
"karma-webpack": "^3.0.5",
"lint-staged": "^8.1.0",
"mocha": "^5.2.0",
"npm-run-all": "^4.1.5",
"nyc": "^13.1.0",
"prettier": "^1.15.2",
"rewiremock": "^3.12.3",
"rxjs": "^6.3.3",
"shx": "^0.3.2",
"sinon": "^7.1.1",
"size-limit": "^0.21.0",
"source-map-support": "^0.5.9",
"ts-loader": "^5.3.0",
"ts-node": "^7.0.1",
"tslint": "^5.11.0",
"tslint-no-unused-expression-chai": "^0.1.4",
"typescript": "^3.1.6",
"url-search-params-polyfill": "^5.0.0",
"webpack": "^4.26.1"
},
"peerDependencies": {
"rxjs": "6.x"
},
"dependencies": {
"follow-redirects": "^1.5.10",
"getroot": "^1.0.0",
"is-buffer": "^2.0.3",
"tslib": "^1.9.3"
}
}