-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathpackage.json
More file actions
103 lines (103 loc) · 3.35 KB
/
package.json
File metadata and controls
103 lines (103 loc) · 3.35 KB
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
{
"name": "@js-util-fn/url",
"version": "1.0.8",
"description": "> 仅依赖JS Engine运行环境的URL 解析、修改/追回参数hash等方法集",
"keywords": [
"JS Engine",
"URL Parse",
"set search"
],
"browser": "dist/index.esm.js",
"main": "dist/index.cjs.js",
"module": "dist/index.esm.js",
"types": "dist/index.d.ts",
"files": [
"dist"
],
"author": "lamovv<[email protected]>",
"license": "MIT",
"repository": {
"type": "git",
"url": "https://github.com/lamovv/js-utils-url.git"
},
"engines": {
"node": ">=10.15.3"
},
"devDependencies": {
"@babel/core": "^7.13.14",
"@babel/plugin-proposal-class-properties": "^7.13.0",
"@babel/plugin-proposal-object-rest-spread": "^7.13.8",
"@babel/plugin-syntax-dynamic-import": "^7.8.3",
"@babel/plugin-transform-runtime": "^7.13.10",
"@babel/preset-env": "^7.13.12",
"@commitlint/cli": "^12.0.1",
"@commitlint/config-conventional": "^12.0.1",
"@rollup/plugin-alias": "^3.1.2",
"@rollup/plugin-commonjs": "^18.0.0",
"@rollup/plugin-node-resolve": "^11.2.1",
"@rollup/plugin-replace": "^2.4.2",
"babel-eslint": "^10.1.0",
"babel-loader": "^8.2.2",
"cnpm": "^6.1.1",
"console-log-h5": "^1.1.1",
"conventional-changelog-cli": "^2.1.1",
"cross-env": "^7.0.3",
"eslint": "^7.23.0",
"eslint-loader": "^4.0.2",
"husky": "^4.2.3",
"ip": "^1.1.5",
"lint-staged": "^10.5.4",
"lodash": "^4.17.21",
"npm-run-all": "^4.1.5",
"prettier": "^2.2.1",
"rollup": "^2.44.0",
"rollup-plugin-babel": "^4.4.0",
"standard-version": "^9.1.1",
"typescript": "^4.2.3",
"webpack": "^5.28.0",
"webpack-cli": "^4.6.0",
"webpack-dev-server": "^3.11.2"
},
"husky": {
"hooks": {
"pre-commit": "lint-staged",
"commit-msg": "commitlint -E HUSKY_GIT_PARAMS"
}
},
"lint-staged": {
"./src/**/*.{ts,js}": [
"prettier --tab-width 2 --write",
"eslint --cache --fix",
"conventional-changelog -p angular -i CHANGELOG.md -s",
"git add CHANGELOG.md"
]
},
"scripts": {
"upgrade": "yarn upgrade-interactive --latest",
"init": "npm run clean && rm -rf node_modules && yarn install -s --force",
"init:nolock": "npm run clean && rm -rf node_modules && yarn install -s --force --no-lockfile",
"updatev": "standard-version --release-as patch",
"updatev:beta": "standard-version --prerelease beta --skip.changelog --skip.tag",
"build": "run-p clean prettier build:es build:types",
"build:es": "rm -rf dist && rollup -c --silent",
"build:umd": "cross-env NODE_FORMAT=umd rollup -c --silent",
"build:all": "run-p build build:umd",
"build:types": "tsc",
"build:wpk": "cross-env NODE_ENV=production webpack --mode=production",
"clean": "rm -rf dist",
"prettier": "prettier --write ./src",
"dev": "webpack serve --mode=development",
"dev:open": "webpack serve --mode=development --open",
"prepub": "npm run updatev && npm run build",
"prebeta": "npm run updatev:beta && npm run build",
"postpublish": "git push --follow-tags origin master",
"publatest": "npm publish --access=public",
"pubeta": "npm publish --access=public --tag beta",
"pub": "run-s publatest sync",
"beta": "run-s pubeta sync",
"sync": "cnpm sync"
},
"publishConfig": {
"registry": "https://registry.npmjs.org"
}
}