@moment-design/material-library 0.0.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json ADDED
@@ -0,0 +1,103 @@
1
+ {
2
+ "name": "@moment-design/material-library",
3
+ "version": "0.0.1",
4
+ "description": "素材库组件",
5
+ "keywords": [
6
+ "vue",
7
+ "moment-design"
8
+ ],
9
+ "author": "lean",
10
+ "license": "MIT",
11
+ "main": "dist/index.cjs.js",
12
+ "module": "dist/index.esm.js",
13
+ "types": "dist/index.d.ts",
14
+ "umd": {
15
+ "file": "dist/index.min.js",
16
+ "style": "dist/css/index.css",
17
+ "module": "MoMaterial"
18
+ },
19
+ "buildInput": "src/index.vue",
20
+ "scripts": {
21
+ "dev": "start-storybook -p 6006",
22
+ "build": "mo-vue-scripts build:material 'src/index.vue' & npm run dtsgen",
23
+ "docgen": "mo-vue-scripts docgen -i 'src/TEMPLATE.md'",
24
+ "dtsgen": "mo-vue-scripts dtsgen 'src/*.{ts,tsx,vue}'",
25
+ "test": "mo-vue-scripts test",
26
+ "clean": "rm -rf dist && rm -rf docs"
27
+ },
28
+ "husky": {
29
+ "hooks": {
30
+ "commit-msg": "commitlint -E HUSKY_GIT_PARAMS",
31
+ "pre-commit": "lint-staged"
32
+ }
33
+ },
34
+ "lint-staged": {
35
+ "*.{js,ts,jsx,tsx,vue}": [
36
+ "eslint --fix",
37
+ "prettier --write"
38
+ ],
39
+ "*.{less,css}": [
40
+ "stylelint --fix",
41
+ "prettier --write"
42
+ ]
43
+ },
44
+ "peerDependencies": {
45
+ "vue": "^3.2.0"
46
+ },
47
+ "devDependencies": {
48
+ "@babel/core": "^7.14.6",
49
+ "@babel/plugin-proposal-class-properties": "^7.14.5",
50
+ "@babel/plugin-syntax-dynamic-import": "^7.8.3",
51
+ "@babel/preset-env": "^7.14.7",
52
+ "@babel/preset-typescript": "^7.14.5",
53
+ "@commitlint/cli": "^11.0.0",
54
+ "@commitlint/config-conventional": "^12.0.1",
55
+ "@moment-design/mo-vue-scripts": "latest",
56
+ "@moment-design/web-vue": "latest",
57
+ "@storybook/addon-actions": "^6.3.0",
58
+ "@storybook/addon-essentials": "^6.3.0",
59
+ "@storybook/addon-links": "^6.3.0",
60
+ "@storybook/builder-webpack5": "^6.5.9",
61
+ "@storybook/manager-webpack5": "^6.5.9",
62
+ "@storybook/vue3": "^6.3.0",
63
+ "@typescript-eslint/eslint-plugin": "^4.18.0",
64
+ "@typescript-eslint/parser": "^4.12.0",
65
+ "@vue/babel-plugin-jsx": "^1.0.6",
66
+ "@vue/test-utils": "^2.0.0-beta.14",
67
+ "babel-loader": "^8.2.2",
68
+ "eslint": "^7.21.0",
69
+ "eslint-config-airbnb-base": "^14.2.1",
70
+ "eslint-config-prettier": "^8.3.0",
71
+ "eslint-import-resolver-typescript": "^2.4.0",
72
+ "eslint-plugin-import": "^2.22.1",
73
+ "eslint-plugin-prettier": "^3.3.1",
74
+ "eslint-plugin-vue": "^7.7.0",
75
+ "fs-extra": "^9.0.1",
76
+ "husky": "^4.3.7",
77
+ "less": "^4.1.1",
78
+ "less-loader": "^7.3.0",
79
+ "lint-staged": "^10.5.3",
80
+ "prettier": "^2.2.1",
81
+ "stylelint": "^13.8.0",
82
+ "stylelint-config-prettier": "^8.0.2",
83
+ "stylelint-config-rational-order": "^0.1.2",
84
+ "stylelint-config-standard": "^20.0.0",
85
+ "stylelint-order": "^4.1.0",
86
+ "typescript": "^4.2.4",
87
+ "vue": "^3.1.0",
88
+ "vue-dts-gen": "^0.3.0",
89
+ "vue-loader": "^16.2.0"
90
+ },
91
+ "moMeta": {
92
+ "type": "vue-component"
93
+ },
94
+ "files": [
95
+ "dist",
96
+ "docs"
97
+ ],
98
+ "dependencies": {
99
+ "axios": "^0.21.4",
100
+ "js-cookie": "^3.0.5",
101
+ "vue-docgen-api": "^4.40.0"
102
+ }
103
+ }