-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathpackage.json
124 lines (124 loc) · 3.89 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
{
"name": "mazey",
"version": "4.7.7",
"description": "A functional library for daily front-end work.",
"main": "lib/index.cjs.js",
"module": "lib/index.esm.js",
"typings": "lib/index.d.ts",
"types": "lib/index.d.ts",
"mainEntryPointFilePath": "lib/index.d.ts",
"directories": {
"lib": "./lib"
},
"unpkg": "lib/mazey.min.js",
"jsdelivr": "lib/mazey.min.js",
"scripts": {
"dev": "webpack serve --config ./scripts/webpack.config.dev.js --open",
"build": "cross-env SCRIPTS_NPM_PACKAGE_DEBUG=close SCRIPTS_NPM_PACKAGE_VERSION=$npm_package_version rollup --config ./scripts/rollup.config.mjs",
"build:debug": "cross-env SCRIPTS_NPM_PACKAGE_DEBUG=open SCRIPTS_NPM_PACKAGE_VERSION=$npm_package_version rollup --config ./scripts/rollup.config.mjs",
"test": "jest",
"test:debug": "npm run build:debug && npm run test",
"test:coverage": "npm run build:debug && npx jest --coverage",
"lint:fix": "eslint --ext 'js,ts,tsx' --fix ./src ./test ./scripts",
"docs": "typedoc --readme ./README.md --excludeProtected --excludePrivate --excludeInternal --hideGenerator",
"preview": "npm run build && npm run test",
"release": "npm run preview && cross-env SCRIPTS_NPM_PACKAGE_VERSION=$npm_package_version node ./scripts/release.js",
"release:win": "bash scripts/shell/env-win.sh && npm i --registry=https://registry.npmmirror.com && npm run release"
},
"repository": {
"type": "git",
"url": "git+https://github.com/mazeyqian/mazey.git"
},
"keywords": [
"front-end",
"load",
"math",
"url",
"style",
"css",
"debounce",
"throttle",
"trim",
"clone",
"json",
"random",
"dom",
"hash",
"storage",
"cookie",
"calculate",
"formula",
"browser",
"performance",
"pwa",
"console",
"function",
"typescript"
],
"author": {
"name": "Cheng",
"email": "mazeyqian@gmail.com",
"url": "https://github.com/mazeyqian"
},
"license": "MIT",
"bugs": {
"url": "https://github.com/mazeyqian/mazey/issues"
},
"homepage": "https://github.com/mazeyqian/mazey#readme",
"devDependencies": {
"@babel/core": "^7.23.2",
"@babel/plugin-transform-class-properties": "^7.22.5",
"@babel/plugin-transform-object-rest-spread": "^7.22.15",
"@babel/plugin-transform-runtime": "^7.23.2",
"@babel/preset-env": "^7.23.2",
"@babel/preset-typescript": "^7.23.2",
"@babel/runtime": "^7.23.2",
"@babel/runtime-corejs3": "^7.23.2",
"@commitlint/cli": "^17.8.1",
"@commitlint/config-conventional": "^17.8.1",
"@rollup/plugin-babel": "^6.0.3",
"@rollup/plugin-commonjs": "^25.0.7",
"@rollup/plugin-terser": "^0.4.4",
"@types/jquery": "^3.5.29",
"@typescript-eslint/eslint-plugin": "^6.12.0",
"@typescript-eslint/parser": "^6.12.0",
"clean-webpack-plugin": "^4.0.0",
"core-js": "^3.33.2",
"cross-env": "^7.0.3",
"date-fns": "^2.30.0",
"eslint": "^8.54.0",
"eslint-config-standard": "^17.1.0",
"eslint-plugin-import": "^2.29.0",
"eslint-plugin-node": "^11.1.0",
"eslint-plugin-promise": "^6.1.1",
"eslint-plugin-standard": "^4.1.0",
"execa": "^5.1.1",
"html-webpack-plugin": "^5.5.3",
"husky": "^8.0.3",
"jest": "^29.7.0",
"jest-environment-jsdom": "^29.7.0",
"jquery": "^3.7.1",
"lint-staged": "^14.0.1",
"markdown-toc": "^1.2.0",
"prettier": "^2.8.8",
"prettier-eslint-cli": "^8.0.1",
"rollup": "^3.29.4",
"rollup-plugin-cleaner": "^1.0.0",
"rollup-plugin-copy": "^3.4.0",
"rollup-plugin-dts": "^6.1.0",
"rollup-plugin-typescript2": "^0.34.1",
"ts-loader": "^9.4.4",
"tslib": "^2.6.2",
"typedoc": "^0.25.4",
"typescript": "5.3.2",
"webpack": "^5.89.0",
"webpack-cli": "^5.1.4",
"webpack-dev-server": "^4.15.1"
},
"husky": {
"hooks": {
"commit-msg": "commitlint -E HUSKY_GIT_PARAMS",
"pre-commit": "lint-staged"
}
}
}