-
Notifications
You must be signed in to change notification settings - Fork 2
/
package.json
48 lines (48 loc) · 1.42 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
{
"name": "get-real-file-type",
"version": "2.1.0",
"description": "获取真实的文件类型,并方便的与目标类型进行比较",
"main": "./lib/index.cjs.js",
"scripts": {
"type-check": "tsc --noEmit",
"test": "mocha -r ts-node/register test/*.ts",
"build": "rollup -c",
"build1": "tsc --emitDeclarationOnly && babel src -d lib --extensions '.ts'",
"prepare": "npm run build",
"prepublishOnly": "npm run test"
},
"files": [
"lib/*"
],
"types": "lig/index.d.ts",
"repository": "https://github.com/asdwsx1234/get-real-file-type",
"author": "814930498@qq.com",
"license": "ISC",
"dependencies": {
"@babel/runtime": "^7.12.5",
"file-type": "^12.4.0"
},
"devDependencies": {
"@babel/cli": "^7.12.10",
"@babel/core": "^7.12.10",
"@babel/plugin-proposal-class-properties": "^7.7.0",
"@babel/plugin-transform-runtime": "^7.12.10",
"@babel/preset-env": "^7.7.1",
"@babel/preset-typescript": "^7.7.2",
"@rollup/plugin-babel": "^5.2.2",
"@rollup/plugin-commonjs": "^15.1.0",
"@rollup/plugin-node-resolve": "^9.0.0",
"@types/chai": "^4.2.5",
"@types/mocha": "^5.2.7",
"@types/node": "^12.12.7",
"chai": "^4.2.0",
"file-api": "^0.10.4",
"mime": "^1.6.0",
"mocha": "^6.2.2",
"rollup": "^2.31.0",
"rollup-plugin-typescript2": "^0.29.0",
"ts-node": "^8.5.0",
"tslib": "^2.0.3",
"typescript": "^3.7.2"
}
}