-
Notifications
You must be signed in to change notification settings - Fork 12
/
package.json
107 lines (107 loc) · 2.99 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
{
"name": "ofcold-vue-security-code",
"description": "A powerful security code input supports dynamic configuration of the number of input boxes.",
"author": "Bill li",
"license": "MIT",
"bugs": {
"url": "https://github.com/ofcold/security-code/issues"
},
"homepage": "https://github.com/ofcold/security-code#readme",
"main": "dist/security-code.js",
"module": "dist/security-code.esm.js",
"types": "types/index.d.ts",
"files": [
"dist",
"types"
],
"scripts": {
"build": "rollup -c --environment BUILD:production",
"build:docs": "webpack --env production",
"clean": "del-cli dist",
"lint": "npm run lint:js && npm run lint:css",
"lint:css": "stylelint **/*.{css,scss,html,vue,md} --fix",
"lint:js": "eslint . --ext .js,.ts,.vue --fix",
"prepare": "husky install",
"release": "npm run clean && npm run lint && npm run build && npm run build:docs && npm test && npm run changelog",
"serve": "webpack serve --hot --open",
"start": "npm run serve",
"test": "jest",
"test:coverage": "cat coverage/lcov.info | codecov"
},
"devDependencies": {
"@babel/core": "^7.14.5",
"@babel/preset-env": "^7.14.5",
"@commitlint/cli": "^12.1.4",
"@commitlint/config-conventional": "^12.1.4",
"@types/jest": "^26.0.23",
"@types/lodash": "^4.14.172",
"@types/qrcode": "^1.4.0",
"@typescript-eslint/eslint-plugin": "^4.26.1",
"@typescript-eslint/parser": "^4.26.1",
"@vue/compiler-sfc": "^3.1.1",
"@vue/test-utils": "^2.0.0-rc.6",
"babel-jest": "^27.0.2",
"babel-loader": "^8.2.2",
"change-case": "^4.1.2",
"codecov": "^3.8.2",
"conventional-changelog-cli": "^2.1.1",
"css-loader": "^5.2.6",
"del-cli": "^3.0.1",
"eslint": "^7.28.0",
"eslint-config-airbnb-typescript": "^12.3.1",
"eslint-plugin-import": "^2.23.4",
"eslint-plugin-vue": "^7.11.0",
"html-webpack-plugin": "^5.3.1",
"husky": "^6.0.0",
"jest": "^27.0.4",
"lint-staged": "^11.0.0",
"markdown-to-vue-loader": "^3.1.0",
"mini-css-extract-plugin": "^1.6.0",
"rollup": "^2.51.2",
"rollup-plugin-postcss": "^4.0.0",
"rollup-plugin-terser": "^7.0.2",
"rollup-plugin-typescript2": "^0.30.0",
"rollup-plugin-vue": "^6.0.0",
"sass": "^1.34.1",
"sass-loader": "^12.1.0",
"style-loader": "^2.0.0",
"stylelint": "^13.13.1",
"stylelint-config-recommended-scss": "^4.2.0",
"stylelint-config-standard": "^22.0.0",
"stylelint-order": "^4.1.0",
"stylelint-scss": "^3.19.0",
"ts-jest": "^27.0.3",
"ts-loader": "^9.2.3",
"tslib": "^2.3.0",
"typescript": "^4.3.2",
"vue": "^3.1.1",
"vue-loader": "^16.1.2",
"webpack": "^5.38.1",
"webpack-cli": "^4.7.2",
"webpack-dev-server": "^3.11.2"
},
"peerDependencies": {
"@types/lodash": "^4.14.171",
"vue": "^3.0.0"
},
"repository": {
"type": "git",
"url": "git+https://github.com/ofcold/security-code.git"
},
"keywords": [
"security-code",
"input",
"vue"
],
"lint-staged": {
"*.{js,ts,vue}": [
"eslint --fix",
"git add"
],
"*.{css,scss,html,vue,md}": [
"stylelint --fix",
"git add"
]
},
"version": "2.6.0"
}