-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
71 lines (71 loc) · 2.13 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
{
"name": "ali-oss-stream",
"version": "1.0.10",
"description": "ali oss 服务流式操作",
"author": "yijie",
"license": "MIT",
"repository": {
"type": "git",
"url": "git+https://github.com/NWYLZW/ali-oss-stream.git"
},
"homepage": "https://github.com/NWYLZW/ali-oss-stream#readme",
"main": "lib/index.umd.js",
"module": "lib/index.esm.js",
"typings": "lib/index.d.ts",
"scripts": {
"prepare": "husky install",
"api": "yarn build:dec && api-extractor run && rimraf -g \"lib/{core,helpers}/\"",
"dev": "rollup -w -c --environment FORMAT:esm",
"build": "rimraf lib/* && run-p build:esm build:umd build:min && yarn api",
"build:esm": "rollup -c --environment FORMAT:esm",
"build:umd": "rollup -c --environment FORMAT:umd",
"build:min": "rollup -c --environment FORMAT:min",
"build:dec": "tsc -p . --declaration --emitDeclarationOnly",
"lint": "eslint src/**/*.{js,ts}",
"test": "jest --coverage --verbose -u"
},
"husky": {
"hooks": {
"pre-commit": "lint-staged & jest -u"
}
},
"lint-staged": {
"*./src/**/*.{js,ts,json,md}": [
"yarn lint"
]
},
"engines": {
"node": ">=10.0.0"
},
"devDependencies": {
"@babel/core": "^7.13.14",
"@babel/preset-env": "^7.13.12",
"@babel/preset-typescript": "^7.13.0",
"@microsoft/api-extractor": "^7.13.2",
"@types/jest": "^26.0.22",
"@typescript-eslint/eslint-plugin": "^4.20.0",
"@typescript-eslint/parser": "^4.20.0",
"eslint": "^7.23.0",
"eslint-plugin-jest": "^24.3.2",
"husky": "^6.0.0",
"jest": "^26.6.3",
"lint-staged": "^10.5.4",
"lodash.merge": "^4.6.2",
"npm-run-all": "^4.1.5",
"rimraf": "^3.0.2",
"rollup": "^2.44.0",
"rollup-plugin-babel": "^4.4.0",
"rollup-plugin-commonjs": "^10.1.0",
"rollup-plugin-eslint": "^7.0.0",
"rollup-plugin-json": "^4.0.0",
"rollup-plugin-node-resolve": "^5.2.0",
"rollup-plugin-terser": "^7.0.2",
"rollup-plugin-typescript2": "^0.30.0",
"ts-jest": "^26.5.4",
"ts-node": "^9.1.1",
"typescript": "^4.2.3"
},
"keywords": [
"modules", "ali oss", "util", "tool", "stream"
]
}