-
Notifications
You must be signed in to change notification settings - Fork 14
/
package.json
130 lines (130 loc) · 4.74 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
{
"name": "radio-browser-api",
"version": "4.0.1",
"private": false,
"description": "Wrapper for free and open-source radio browser api: https://api.radio-browser.info/.",
"main": "dist/cjs/index.js",
"module": "dist/unpkg/index.esm.js",
"unpkg": "dist/unpkg/index.js",
"jsdelivr": "dist/unpkg/index.js",
"exports": {
"import": "./dist/esm/index.esm.js",
"require": "./dist/cjs/index.js",
"development": "./dist/cjs/index.development.js"
},
"sideEffects": true,
"types": "dist/types/index.d.ts",
"license": "MIT",
"files": [
"dist",
"src"
],
"directories": {
"test": "tests"
},
"scripts": {
"prepublishOnly": "npm run test && npm run build",
"commit": "git-cz",
"fix:src": "eslint --fix \"./src/**/*.{js,jsx,ts,tsx}\"",
"fix:tests": "eslint --fix \"./tests/**/*.{js,jsx,ts,tsx}\"",
"fix": "npm-run-all -p fix:*",
"docs": "npm run build:types && npm run api:extract && npm run api:write",
"api:write": "api-documenter markdown -i temp -o docs/api",
"api:extract": "api-extractor run --local --verbose --typescript-compiler-folder node_modules/typescript",
"test": "cross-env BABEL_ENV=test jest --verbose --coverage --no-cache",
"test:watch": "cross-env BABEL_ENV=test jest --watch",
"test:ci": "npm run type:check && jest --runInBand --ci --reporters=default --reporters=jest-junit --coverage --coverageDirectory=coverage",
"type:check": "tsc -p tsconfig.check-types.json",
"type:check:watch": "npm run type:check -- --watch",
"build:types": "del dist/types && tsc -p tsconfig.build-types.json",
"build:browser": "del dist/unpkg && rollup -c",
"build:cjs": "del dist/cjs && cross-env BABEL_ENV=cjs babel src --out-dir dist/cjs --extensions \".ts,.tsx,js,jsx\" --source-maps --verbose",
"build:esm": "del dist/esm && cross-env BABEL_ENV=esm babel src --out-dir dist/esm --extensions \".ts,.tsx,js,jsx\" --source-maps",
"build": "npm run docs && npm run build:cjs && npm run build:esm && npm run build:browser",
"build:watch": "npm run build:cjs -- --watch",
"semantic-release": "semantic-release",
"prepare": "husky install"
},
"engines": {
"node": ">=10.0.0"
},
"jest-junit": {
"outputDirectory": "./reports/junit",
"outputName": "test-results.xml"
},
"config": {
"commitizen": {
"path": "cz-conventional-changelog"
}
},
"repository": {
"type": "git",
"url": "git+https://github.com/ivandotv/radio-browser-api.git"
},
"bugs": {
"url": "https://github.com/ivandotv/radio-browser-api/issues"
},
"homepage": "https://github.com/ivandotv/radio-browser-api#readme",
"keywords": [
"radio",
"api",
"radio-browser-api",
"radio-browser-info"
],
"author": "Ivan Vlatkovic",
"devDependencies": {
"@babel/cli": "^7.14.5",
"@babel/core": "^7.14.6",
"@babel/plugin-proposal-class-properties": "^7.14.5",
"@babel/plugin-proposal-nullish-coalescing-operator": "^7.14.5",
"@babel/plugin-proposal-object-rest-spread": "^7.14.7",
"@babel/plugin-proposal-optional-chaining": "^7.14.5",
"@babel/preset-env": "^7.14.7",
"@babel/preset-typescript": "^7.14.5",
"@babel/types": "^7.14.5",
"@microsoft/api-documenter": "^7.13.32",
"@microsoft/api-extractor": "^7.18.3",
"@rollup/plugin-commonjs": "^19.0.0",
"@rollup/plugin-node-resolve": "^13.0.0",
"@semantic-release/changelog": "^5.0.1",
"@semantic-release/git": "^9.0.0",
"@semantic-release/release-notes-generator": "^9.0.3",
"@size-limit/preset-small-lib": "^5.0.1",
"@types/jest": "^26.0.24",
"@types/node": "^16.3.2",
"@types/node-fetch": "^2.5.11",
"@typescript-eslint/eslint-plugin": "^4.28.3",
"@typescript-eslint/parser": "^4.28.3",
"babel-plugin-dev-expression": "^0.2.2",
"babel-plugin-transform-define": "^2.0.0",
"babel-preset-minify": "^0.5.1",
"commitizen": "^4.2.4",
"conventional-changelog-conventionalcommits": "^4.6.0",
"core-js": "^3.15.2",
"cross-env": "^7.0.3",
"cz-conventional-changelog": "^3.3.0",
"del-cli": "4.0.0",
"eslint-config-prettier": "^8.3.0",
"eslint-config-standard": "^16.0.3",
"eslint-plugin-prettier": "^3.4.0",
"eslint-plugin-tsdoc": "^0.2.14",
"husky": "^6.0.0",
"jest": "^27.0.6",
"jest-junit": "^12.2.0",
"jest-watch-typeahead": "^0.6.4",
"lint-staged": "^11.0.1",
"nock": "^13.1.1",
"node-fetch": "^2.6.1",
"npm-run-all": "^4.1.5",
"prettier": "^2.3.2",
"prettier-standard": "^16.4.1",
"rollup": "^2.53.1",
"rollup-plugin-babel": "^4.4.0",
"rollup-plugin-filesize": "^9.1.1",
"rollup-plugin-peer-deps-external": "^2.2.4",
"rollup-plugin-terser": "^7.0.2",
"semantic-release": "^17.4.4",
"standardx": "^7.0.0",
"typescript": "^4.3.5"
}
}