-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
76 lines (76 loc) · 2.18 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
{
"name": "oh-my-funcs",
"version": "1.0.1",
"description": "前端开发常用功能函数,拿来即用",
"type": "module",
"main": "./lib/index.cjs.js",
"module": "./lib/index.esm.js",
"jsnext:main": "./lib/index.esm.js",
"browser": "./lib/index.umd.js",
"typings": "./lib/types/index.d.ts",
"files": [
"lib"
],
"repository": {
"type": "git",
"url": "git+https://github.com/HduSy/oh-my-funcs"
},
"author": "HduSy <[email protected]>",
"license": "MIT",
"publishConfig": {
"access": "public",
"registry": "https://registry.npmjs.org/"
},
"scripts": {
"dev": "pnpm clean && rollup -c -w --configPlugin @rollup/plugin-typescript",
"build": "pnpm clean && rollup -c --configPlugin @rollup/plugin-typescript",
"clean": "rm -rf lib",
"release": "commit-and-tag-version",
"test": "jest",
"prepare": "husky install",
"lint": "eslint src --ext .ts --fix",
"format": "prettier --config .prettierrc --write 'src/**/*.{js,jsx,ts,tsx}'"
},
"bugs": {
"url": "https://github.com/HduSy/oh-my-funcs/issues"
},
"homepage": "https://github.com/HduSy/oh-my-funcs",
"keywords": [
"utils",
"function",
"tools"
],
"exports": {
".": {
"import": "./lib/index.esm.js",
"require": "./lib/index.cjs.js",
"types": "./lib/types/index.d.ts"
}
},
"devDependencies": {
"@rollup/plugin-commonjs": "^25.0.7",
"@rollup/plugin-node-resolve": "^15.2.3",
"@rollup/plugin-terser": "^0.4.4",
"@rollup/plugin-typescript": "^11.1.6",
"@types/hammerjs": "^2.0.45",
"@types/smooth-scroll": "^16.1.4",
"@types/smoothscroll-polyfill": "^0.3.3",
"@typescript-eslint/eslint-plugin": "^6.19.0",
"@typescript-eslint/parser": "^6.19.0",
"eslint": "^8.56.0",
"eslint-config-standard-with-typescript": "^43.0.0",
"eslint-plugin-import": "^2.25.2",
"eslint-plugin-n": "^15.0.0 || ^16.0.0 ",
"eslint-plugin-promise": "^6.0.0",
"husky": "^8.0.3",
"lint-staged": "^15.2.0",
"prettier": "^3.2.2",
"tslib": "^2.6.2",
"typescript": "^5.3.3"
},
"dependencies": {
"rollup": "^4.9.5",
"smooth-scroll": "^16.1.3",
"smoothscroll-polyfill": "^0.4.4"
}
}