mime-explorer 1.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/LICENSE +21 -0
- package/README.MD +90 -0
- package/dist/index.cjs +2 -0
- package/dist/index.cjs.map +1 -0
- package/dist/index.d.ts +2 -0
- package/dist/index.mjs +2 -0
- package/dist/index.mjs.map +1 -0
- package/dist/module.d.ts +38 -0
- package/dist/type.d.ts +20 -0
- package/package.json +89 -0
package/package.json
ADDED
|
@@ -0,0 +1,89 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "mime-explorer",
|
|
3
|
+
"version": "1.0.0",
|
|
4
|
+
"description": "This is a library for mime types. It provides an ESM and CJS build.",
|
|
5
|
+
"main": "dist/index.cjs",
|
|
6
|
+
"module": "dist/index.mjs",
|
|
7
|
+
"types": "dist/index.d.ts",
|
|
8
|
+
"exports": {
|
|
9
|
+
".": {
|
|
10
|
+
"types": "./dist/index.d.ts",
|
|
11
|
+
"import": "./dist/index.mjs",
|
|
12
|
+
"require": "./dist/index.cjs"
|
|
13
|
+
}
|
|
14
|
+
},
|
|
15
|
+
"files": [
|
|
16
|
+
"dist/"
|
|
17
|
+
],
|
|
18
|
+
"scripts": {
|
|
19
|
+
"build:types": "tsc --emitDeclarationOnly",
|
|
20
|
+
"build:js": "rollup -c",
|
|
21
|
+
"build": "rimraf dist && npm run build:types && npm run build:js",
|
|
22
|
+
"commit": "npx git-cz",
|
|
23
|
+
"lint": "eslint --ext .js,.ts ./src",
|
|
24
|
+
"lint:fix": "npm run lint -- --fix",
|
|
25
|
+
"test": "cross-env NODE_ENV=test jest --config ./test/jest.config.js",
|
|
26
|
+
"test:coverage": "npm run test -- --coverage",
|
|
27
|
+
"prepare": "npx husky install",
|
|
28
|
+
"prepublishOnly": "npm run build"
|
|
29
|
+
},
|
|
30
|
+
"author": {
|
|
31
|
+
"name": "Peter Placzek",
|
|
32
|
+
"email": "contact@tada5hi.net",
|
|
33
|
+
"url": "https://github.com/tada5hi"
|
|
34
|
+
},
|
|
35
|
+
"license": "MIT",
|
|
36
|
+
"keywords": [
|
|
37
|
+
"mime",
|
|
38
|
+
"mime-type",
|
|
39
|
+
"mime-types",
|
|
40
|
+
"extesnion",
|
|
41
|
+
"extensions"
|
|
42
|
+
],
|
|
43
|
+
"repository": {
|
|
44
|
+
"type": "git",
|
|
45
|
+
"url": "git+https://github.com/Tada5hi/mime-explorer.git"
|
|
46
|
+
},
|
|
47
|
+
"bugs": {
|
|
48
|
+
"url": "https://github.com/Tada5hi/mime-explorer/issues"
|
|
49
|
+
},
|
|
50
|
+
"homepage": "https://github.com/Tada5hi/mime-explorer#readme",
|
|
51
|
+
"devDependencies": {
|
|
52
|
+
"@babel/core": "^7.20.2",
|
|
53
|
+
"@babel/preset-env": "^7.20.2",
|
|
54
|
+
"@babel/preset-typescript": "^7.18.6",
|
|
55
|
+
"@commitlint/cli": "^17.3.0",
|
|
56
|
+
"@commitlint/config-angular": "^17.3.0",
|
|
57
|
+
"@commitlint/config-conventional": "^17.3.0",
|
|
58
|
+
"@commitlint/cz-commitlint": "^17.3.0",
|
|
59
|
+
"@rollup/plugin-babel": "^6.0.3",
|
|
60
|
+
"@rollup/plugin-commonjs": "^24.0.0",
|
|
61
|
+
"@rollup/plugin-json": "^6.0.0",
|
|
62
|
+
"@rollup/plugin-node-resolve": "^15.0.1",
|
|
63
|
+
"@rollup/plugin-terser": "^0.3.0",
|
|
64
|
+
"@semantic-release/changelog": "^6.0.1",
|
|
65
|
+
"@semantic-release/commit-analyzer": "^9.0.2",
|
|
66
|
+
"@semantic-release/git": "^10.0.1",
|
|
67
|
+
"@semantic-release/github": "^8.0.6",
|
|
68
|
+
"@semantic-release/npm": "^9.0.1",
|
|
69
|
+
"@semantic-release/release-notes-generator": "^10.0.3",
|
|
70
|
+
"@tada5hi/eslint-config-typescript": "^1.1.0",
|
|
71
|
+
"@tada5hi/tsconfig": "^0.1.0",
|
|
72
|
+
"@types/jest": "^29.2.5",
|
|
73
|
+
"@types/node": "^18.11.9",
|
|
74
|
+
"cross-env": "^7.0.3",
|
|
75
|
+
"eslint": "^8.31.0",
|
|
76
|
+
"husky": "^8.0.3",
|
|
77
|
+
"jest": "^29.3.1",
|
|
78
|
+
"mime-db": "^1.52.0",
|
|
79
|
+
"rollup": "^3.10.0",
|
|
80
|
+
"semantic-release": "^20.0.2",
|
|
81
|
+
"ts-jest": "^29.0.4",
|
|
82
|
+
"typescript": "^4.9.4"
|
|
83
|
+
},
|
|
84
|
+
"config": {
|
|
85
|
+
"commitizen": {
|
|
86
|
+
"path": "@commitlint/cz-commitlint"
|
|
87
|
+
}
|
|
88
|
+
}
|
|
89
|
+
}
|