forked from geist-org/geist-ui
-
Notifications
You must be signed in to change notification settings - Fork 4
/
Copy pathpackage.json
148 lines (148 loc) · 4.33 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
{
"name": "@cfxjs/react-ui",
"version": "0.0.0",
"main": "dist/index.js",
"module": "esm/index.js",
"types": "dist/index.d.ts",
"unpkg": "dist/index.min.js",
"license": "MIT",
"description": "Modern and minimalist React UI library.",
"homepage": "https://conflux-react-ui.vercel.app",
"bugs": {
"url": "https://github.com/Conflux-Chain/react-ui/issues/new/choose"
},
"repository": {
"type": "git",
"url": "https://github.com/Conflux-Chain/react-ui"
},
"prettier": "@zeit-ui/prettier-config",
"keywords": [
"conflux",
"conflux ui",
"component",
"components",
"react components",
"react ui"
],
"scripts": {
"dev": "yarn docs-collect && next dev",
"docs-build": "yarn docs-collect && next build",
"docs-start": "next start",
"docs-collect": "node scripts/collect-meta.js",
"contributor-collect": "node scripts/collect-contributors.js",
"clear": "rm -rf ./dist ./esm",
"lint": "eslint \"{components,lib}/**/*.{js,ts,tsx}\"",
"prettier": "prettier --write .",
"test": "jest --config .jest.config.js --no-cache",
"test-update": "jest --config .jest.config.js --no-cache --update-snapshot",
"coverage": "yarn test --coverage",
"test-update:coverage": "yarn test-update --coverage",
"now-build": "yarn run docs-build",
"build:esm": "babel --config-file ./scripts/babel.config.js --extensions \".js,.ts,.tsx\" ./components --out-dir ./esm --ignore \"**/__tests__/**/*,**/*.d.ts\"",
"build:webpack": "webpack --config scripts/webpack.config.js",
"build:types": "tsc -p ./scripts",
"build": "yarn clear && yarn build:esm && yarn build:webpack && yarn build:types",
"release": "yarn build && yarn publish --access public --non-interactive",
"commit": "git commit -a"
},
"husky": {
"hooks": {
"pre-commit": "lint-staged",
"prepare-commit-msg": "exec < /dev/tty && git cz --hook || true"
}
},
"lint-staged": {
"*.{js,ts,tsx,json,md}": [
"prettier --write"
],
"*.{js,ts,tsx}": [
"eslint --fix"
]
},
"files": [
"/dist",
"/esm"
],
"devDependencies": {
"@babel/cli": "^7.8.4",
"@babel/plugin-transform-runtime": "^7.9.0",
"@babel/preset-typescript": "^7.8.3",
"@babel/runtime": "^7.9.6",
"@mapbox/rehype-prism": "^0.4.0",
"@mdx-js/loader": "^1.5.7",
"@next/mdx": "^9.4.0",
"@testing-library/react-hooks": "^3.2.1",
"@types/enzyme": "^3.10.5",
"@types/jest": "^25.2.1",
"@types/react": "^16.9.22",
"@types/react-color": "^3.0.1",
"@types/react-dom": "^16.9.5",
"@types/styled-jsx": "^2.2.8",
"@typescript-eslint/eslint-plugin": "^2.24.0",
"@typescript-eslint/parser": "^2.24.0",
"@zeit-ui/prettier-config": "^1.0.0",
"babel-jest": "^25.3.0",
"babel-loader": "^8.0.6",
"css-mediaquery": "^0.1.2",
"cz-conventional-changelog": "3.2.0",
"enzyme": "^3.11.0",
"enzyme-adapter-react-16": "^1.15.2",
"eslint": "^6.8.0",
"eslint-config-prettier": "^6.11.0",
"eslint-config-ts-lambdas": "^1.2.0",
"eslint-plugin-react": "^7.19.0",
"extract-mdx-metadata": "^1.0.0",
"file-loader": "^6.0.0",
"fs-extra": "^8.1.0",
"husky": "^4.2.5",
"jest": "^25.3.0",
"jest-date-mock": "^1.0.8",
"lint-staged": "^10.2.11",
"next": "^9.4.0",
"prettier": "^2.0.5",
"react": "^16.13.1",
"react-color": "^2.18.0",
"react-dom": "^16.13.1",
"react-live": "^2.2.2",
"semantic-release": "^17.1.1",
"ts-jest": "^25.3.1",
"typescript": "^3.8.3",
"webpack": "^4.41.6",
"webpack-cli": "^3.3.11"
},
"dependencies": {
"@cfxjs/rc-table": "^1.0.0",
"@jnoodle/rc-picker": "^2.0.10",
"@popperjs/core": "^2.5.3",
"@zeit-ui/react-icons": "^1.3.0",
"dayjs": "1.8.30",
"react-popper": "^2.2.3",
"styled-jsx": "^3.2.5"
},
"config": {
"commitizen": {
"path": "./node_modules/cz-conventional-changelog"
}
},
"release": {
"plugins": [
"@semantic-release/commit-analyzer",
"@semantic-release/release-notes-generator",
"@semantic-release/npm",
"@semantic-release/github"
],
"branches": [
"+([0-9])?(.{+([0-9]),x}).x",
"master",
{
"name": "dev",
"channel": "alpha",
"prerelease": "alpha"
}
]
},
"publishConfig": {
"access": "public"
},
"sideEffects": false
}