-
Notifications
You must be signed in to change notification settings - Fork 19
/
package.json
executable file
·164 lines (164 loc) · 4.88 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
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
{
"name": "yoshino",
"version": "0.8.25",
"description": " A customizable PC terminal component library based on react which has strong expansibility, it can output corresponding components according to different business scenarios.",
"main": "lib/index",
"module": "es6/index",
"keywords": [
"react",
"UI",
"component",
"pc"
],
"repository": {
"type": "git",
"url": "git+https://github.com/Yoshino-UI/Yoshino"
},
"author": "ShanaMaid",
"license": "MIT",
"bugs": {
"url": "https://github.com/Yoshino-UI/Yoshino/issues"
},
"homepage": "https://github.com/Yoshino-UI/Yoshino#readme",
"jsnext:main": "es/index",
"typings": "lib/index.d.ts",
"scripts": {
"dev": "NODE_ENV=development webpack-dev-server",
"build": "NODE_ENV=production node scripts/build.js",
"site": "NODE_ENV=production webpack &&cd build && node up.js",
"new": "node scripts/new-component.js",
"new:docs": "node scripts/new-docs.js",
"lint:ts": "tslint -p .",
"lint:less": "stylelint 'components/!(styles)/**/**.less' --syntax less",
"lint:tsc": "tsc --noEmit",
"lint": "npm run lint:less && npm run lint:ts && npm run lint:tsc",
"test": "jest",
"site:pull": "git clone https://github.com/Yoshino-UI/yoshino-ui.github.io.git build",
"preversion": "npm run build && npm run log",
"postversion": "npm publish && npm run site && git push",
"log": "conventional-changelog -p angular -i CHANGELOG.md -s -r 0"
},
"jest": {
"setupFiles": [
"<rootDir>/scripts/jest.setup.js"
],
"transform": {
"^.+\\.tsx?$": "<rootDir>/node_modules/ts-jest/preprocessor.js",
"^.+\\.css?$": "<rootDir>/scripts/jest.setup.js",
"^.+\\.svg?$": "<rootDir>/scripts/jest.setup.js"
},
"testRegex": "(/__tests__/.*\\.test)\\.tsx?$",
"moduleFileExtensions": [
"tsx",
"ts",
"js",
"json"
],
"collectCoverage": true,
"collectCoverageFrom": [
"components/**/*.tsx",
"components/**/*.ts",
"!components/**/*.d.ts"
],
"coverageReporters": [
"lcov",
"text",
"text-summary"
]
},
"engines": {
"node": ">= 6.0.0"
},
"dependencies": {
"@types/classnames": "*",
"@types/moment": "^2.13.0",
"@types/react": "^16.3.12",
"@types/react-dom": "^16.0.5",
"@types/react-transition-group": "^2.0.8",
"archer-svgs": "0.1.0",
"classnames": "*",
"enquire.js": "^2.1.6",
"get-component-async": "^1.0.4",
"ionicons": "^4.4.3",
"postcss": "^6.0.21",
"prop-types": "^15.6.2",
"react": "^16.3.2",
"react-dom": "^16.3.2",
"react-transition-group": "^2.3.1",
"tslib": "*"
},
"devDependencies": {
"@commitlint/cli": "^7.2.1",
"@commitlint/config-angular": "^7.1.2",
"@commitlint/config-conventional": "^7.1.2",
"@types/jest": "^22.2.3",
"@types/marked": "^0.3.0",
"@types/prismjs": "^1.9.0",
"@types/prop-types": "^15.5.5",
"@types/react-loadable": "^5.4.0",
"@types/react-router-dom": "^4.2.6",
"@types/react-syntax-highlighter": "0.0.5",
"@types/react-test-renderer": "^16.0.1",
"babel-plugin-syntax-dynamic-import": "^6.18.0",
"conventional-changelog-cli": "^2.0.11",
"css-hot-loader": "^1.4.1",
"css-loader": "^0.28.11",
"cz-conventional-changelog": "^2.1.0",
"file-loader": "^1.1.11",
"fork-ts-checker-webpack-plugin": "^0.4.2",
"gulp": "^3.9.1",
"gulp-clean-css": "^3.9.3",
"gulp-less": "^4.0.0",
"gulp-postcss": "^7.0.1",
"happypack": "^5.0.0",
"highlight.js": "^9.12.0",
"html-webpack-plugin": "^3.2.0",
"husky": "1.3.0",
"jest": "^22.4.3",
"less": "^3.0.1",
"less-loader": "^4.1.0",
"less-plugin-autoprefix": "^1.5.1",
"marked": "^0.3.19",
"postcss-cli": "^4.1.1",
"postcss-cssnext": "^3.1.0",
"postcss-import": "^11.1.0",
"postcss-less": "^1.1.5",
"postcss-less-engine": "^0.6.2",
"postcss-loader": "^2.1.4",
"postcss-nested": "^3.0.0",
"postcss-px2rem": "^0.3.0",
"postcss-remove-root": "0.0.2",
"prismjs": "^1.14.0",
"raw-loader": "^0.5.1",
"react-docgen-typescript": "^1.3.0",
"react-loadable": "^5.4.0",
"react-route": "^1.0.3",
"react-router-dom": "^4.2.2",
"react-styleguidist": "^7.0.7",
"react-syntax-highlighter": "^7.0.2",
"react-test-renderer": "^16.3.2",
"style-loader": "^0.19.1",
"stylelint": "^8.4.0",
"stylelint-config-standard": "^18.2.0",
"ts-jest": "^22.4.4",
"ts-loader": "^4.2.0",
"tslint": "^5.11.0",
"tslint-react": "^3.5.1",
"typescript": "^3.0.3",
"url-loader": "^1.0.1",
"webpack": "^4.5.0",
"webpack-cli": "^3.1.1",
"webpack-dev-server": "^3.1.9"
},
"config": {
"commitizen": {
"path": "./node_modules/cz-conventional-changelog"
}
},
"husky": {
"hooks": {
"pre-commit": "npm run lint",
"commit-msg": "commitlint -E HUSKY_GIT_PARAMS"
}
}
}