1 | {
|
2 | "name": "@lugia/lugia-web",
|
3 | "version": "1.2.7",
|
4 | "keywords": [
|
5 | "lugia",
|
6 | "design",
|
7 | "ui",
|
8 | "framework",
|
9 | "frontend",
|
10 | "react",
|
11 | "react-component",
|
12 | "component",
|
13 | "components"
|
14 | ],
|
15 | "publishConfig": {
|
16 | "access": "public"
|
17 | },
|
18 | "dependencies": {
|
19 | "@lugia/css": "^1.0.24",
|
20 | "@lugia/listener": "^1.0.5",
|
21 | "@lugia/math": "^1.0.10",
|
22 | "@lugia/object-utils": "^1.0.19",
|
23 | "@lugia/ramada": "^1.0.5",
|
24 | "@lugia/theme-css-hoc": "^1.1.19",
|
25 | "@lugia/theme-hoc": "^1.1.10",
|
26 | "@lugia/theme-utils": "^1.1.9",
|
27 | "@lugia/type-utils": "^1.0.6",
|
28 | "babel-polyfill": "6.26.0",
|
29 | "classnames": "2.2.5",
|
30 | "core-js": "^2.5.7",
|
31 | "css-animation": "1.4.1",
|
32 | "decamelize": "^3.2.0",
|
33 | "deepmerge": "^3.2.0",
|
34 | "enquire.js": "^2.1.6",
|
35 | "events": "^3.0.0",
|
36 | "moment": "^2.22.2",
|
37 | "prop-types": "15.5.10",
|
38 | "prop-types-extra": "1.0.1",
|
39 | "rc-align": "2.4.3",
|
40 | "rc-animate": "2.4.1",
|
41 | "rc-pagination": "1.17.3",
|
42 | "rc-select": "^8.6.4",
|
43 | "rc-table": "^7.0.0-rc.10",
|
44 | "rc-util": "4.0.4",
|
45 | "react-error-overlay": "1.0.9",
|
46 | "warning": "3.0.0"
|
47 | },
|
48 | "peerDependencies": {
|
49 | "@lugia/dict": ">1.0.4",
|
50 | "@lugia/theme-config": ">1.1.3",
|
51 | "@lugia/theme-core": ">1.1.3",
|
52 | "react": ">16.8.0",
|
53 | "react-dom": ">16.0.0",
|
54 | "styled-components": "4.2.0"
|
55 | },
|
56 | "repository": {
|
57 | "type": "git",
|
58 | "url": "https://github.com/lugia-ysstech/lugia-web"
|
59 | },
|
60 | "homepage": "http://lugia.tech",
|
61 | "license": "Apache License 2.0",
|
62 | "author": "ysstech",
|
63 | "scripts": {
|
64 | "prettier": "prettier --write",
|
65 | "lint": "eslint --ext .js src mock tests",
|
66 | "lint:fix": "eslint --fix --ext .js src mock tests",
|
67 | "lint-staged": "lint-staged",
|
68 | "lint:css": "stylelint './src/widgets/**/*.js'",
|
69 | "start": "lugia-scripts start",
|
70 | "build": "lugia-scripts build",
|
71 | "flow": "flow --show-all-errors > flow-error-detail.log",
|
72 | "flow-check": "node readflow.js",
|
73 | "flow-typed": "flow-typed",
|
74 | "reset-flow-typed": "npx shx rm -rf flow-typed/npm && flow-typed install --overwrite || true",
|
75 | "test": "node scripts/test.js --env=jsdom",
|
76 | "cover": "node scripts/test.js --env=jsdom --coverage",
|
77 | "clean": "npx shx rm -rf dist/ interface/ npm-shrinkwrap.all.json src/widgets/static src/widgets/designInfo.dll.json",
|
78 | "create": "node scripts/create.js",
|
79 | "dist": " npm run clean && node --max-old-space-size=24000 scripts/build.js",
|
80 | "create-info": "lugia-create-info"
|
81 | },
|
82 | "devDependencies": {
|
83 | "@lugia/devtools-widgets": "^1.0.4",
|
84 | "@lugia/dict": "^1.0.5",
|
85 | "@lugia/jverify": "^1.0.10",
|
86 | "@lugia/lugiax-router": "^1.0.22",
|
87 | "@lugia/mega-scripts": "^1.6.0-alpha.6",
|
88 | "@lugia/react-test-utils": "^1.0.1",
|
89 | "@lugia/theme-config": "^1.1.5",
|
90 | "@lugia/theme-core": "^1.1.9",
|
91 | "autoprefixer": "7.1.6",
|
92 | "babel-core": "6.26.0",
|
93 | "babel-eslint": "7.2.3",
|
94 | "babel-jest": "23.4.2",
|
95 | "babel-loader": "7.1.2",
|
96 | "babel-plugin-react-flow-props-to-prop-types": "0.15.0",
|
97 | "babel-preset-react-app": "3.1.0",
|
98 | "babel-runtime": "6.26.0",
|
99 | "chai": "4.1.0",
|
100 | "chalk": "1.1.3",
|
101 | "codecov": "^3.6.5",
|
102 | "cross-env": "5.1.4",
|
103 | "debug": "^4.1.1",
|
104 | "dotenv": "4.0.0",
|
105 | "electron-is": "^3.0.0",
|
106 | "enzyme": "3.3.0",
|
107 | "enzyme-adapter-react-16": "^1.5.0",
|
108 | "eslint": "4.10.0",
|
109 | "eslint-config-react-app": "2.0.1",
|
110 | "eslint-loader": "1.9.0",
|
111 | "eslint-plugin-flowtype": "2.39.1",
|
112 | "eslint-plugin-import": "2.8.0",
|
113 | "eslint-plugin-jsx-a11y": "5.1.1",
|
114 | "eslint-plugin-react": "7.4.0",
|
115 | "flow-bin": "^0.93.0",
|
116 | "flow-typed": "^2.5.1",
|
117 | "fs-extra": "3.0.1",
|
118 | "global": "^4.3.2",
|
119 | "husky": "^1.0.0-rc.9",
|
120 | "identity-obj-proxy": "3.0.0",
|
121 | "immutable": "3.8.1",
|
122 | "install": "0.10.1",
|
123 | "isomorphic-fetch": "2.2.1",
|
124 | "jest": "23.4.2",
|
125 | "jest-cli": "23.4.2",
|
126 | "jest-styled-components": "6.2.0",
|
127 | "jsdom": "11.12.0",
|
128 | "jsoneditor": "^5.34.0",
|
129 | "lint-staged": "7.2.0",
|
130 | "npm-run-path": "^4.0.1",
|
131 | "prettier": "^1.13.5",
|
132 | "promise": "8.0.1",
|
133 | "pump": "1.0.2",
|
134 | "raf": "3.4.0",
|
135 | "react": "^16.13.1",
|
136 | "react-dom": "^16.13.1",
|
137 | "react-test-renderer": "^16.13.1",
|
138 | "rimraf": "^2.6.2",
|
139 | "shx": "0.2.2",
|
140 | "styled-components": "4.2.0",
|
141 | "stylelint": "^9.3.0",
|
142 | "stylelint-config-standard": "17.0.0",
|
143 | "stylelint-processor-styled-components": "0.2.1",
|
144 | "tree-kill": "^1.2.2",
|
145 | "whatwg-fetch": "2.0.3"
|
146 | },
|
147 | "husky": {
|
148 | "hooks": {
|
149 | "pre-commit": "npm run lint-staged"
|
150 | }
|
151 | },
|
152 | "lint-staged": {
|
153 | "src/**/*.js": [
|
154 | "npm run prettier",
|
155 | "eslint --fix",
|
156 | "npm run lint",
|
157 | "npm run lint:css",
|
158 | "git add"
|
159 | ]
|
160 | },
|
161 | "jest": {
|
162 | "collectCoverageFrom": [
|
163 | "src/**/*.{js,jsx}",
|
164 | "!src/**/demo*.js",
|
165 | "!src/*.js"
|
166 | ],
|
167 | "setupFiles": [
|
168 | "<rootDir>/config/polyfills.js"
|
169 | ],
|
170 | "testMatch": [
|
171 | "<rootDir>/src/**/__tests__/**/?(*.)(spec|test).js?(x)",
|
172 | "<rootDir>/src/**/?(*.)(spec|test).js?(x)"
|
173 | ],
|
174 | "testEnvironment": "node",
|
175 | "testURL": "http://localhost",
|
176 | "transform": {
|
177 | ".+\\.(js|jsx)$": "<rootDir>/node_modules/babel-jest",
|
178 | ".+\\.css$": "<rootDir>/config/jest/cssTransform.js",
|
179 | "(?!.*\\.(js|jsx|css|json)$)": "<rootDir>/config/jest/fileTransform.js"
|
180 | },
|
181 | "transformIgnorePatterns": [
|
182 | "[/\\\\]node_modules[/\\\\].+\\.(js|jsx)$"
|
183 | ],
|
184 | "moduleNameMapper": {
|
185 | "react-native$": "react-native-web",
|
186 | "\\.(jpg|jpeg|png|gif|eot|otf|webp|svg|ttf|woff|woff2|mp4|webm|wav|mp3|m4a|aac|oga)$": "<rootDir>/__mocks__/fileMock.js",
|
187 | "\\.(css|less)$": "identity-obj-proxy"
|
188 | },
|
189 | "moduleFileExtensions": [
|
190 | "web.js",
|
191 | "js",
|
192 | "json",
|
193 | "web.jsx",
|
194 | "jsx"
|
195 | ]
|
196 | },
|
197 | "main": "dist/designInfo.js",
|
198 | "files": [
|
199 | "dist",
|
200 | "interface",
|
201 | "npm-shrinkwrap.json"
|
202 | ],
|
203 | "babel": {
|
204 | "presets": [
|
205 | "react-app"
|
206 | ],
|
207 | "plugins": []
|
208 | },
|
209 | "engines": {
|
210 | "node": ">=8.0.0",
|
211 | "npm": ">=5.2.0"
|
212 | }
|
213 | }
|