/
package.json
79 lines (79 loc) · 2.41 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
{
"name": "@cloudbase/ui-react",
"version": "0.0.6-beta",
"description": "Example repository for a shared React components library",
"main": "dist/cjs/index.js",
"module": "dist/esm/index.js",
"repository": {
"type": "git",
"url": "git@github.com:rpearce/example-component-library.git"
},
"author": "lukejyhuang",
"license": "BSD-3",
"keywords": [],
"tags": [],
"sideEffects": [
"dist/**/*.css"
],
"files": [
"LICENSE",
"dist/"
],
"scripts": {
"build": "run-s clean build:js build:css build:docs",
"build:css": "./scripts/buildCSS",
"build:css:watch": "chokidar \"source/**/*.css\" -c \"./scripts/buildCSS\"",
"build:docs": "build-storybook -o docs",
"build:js": "run-p build:js:cjs build:js:esm build:js:umd",
"build:js:cjs": "tsc -p tsconfig.cjs.json",
"build:js:esm": "tsc -p tsconfig.esm.json",
"build:js:esm:watch": "tsc -p tsconfig.esm.json -w",
"build:js:umd": "tsc -p tsconfig.umd.json",
"ci": "run-p lint build test",
"clean": "run-p clean:dist clean:docs",
"clean:dist": "rm -rf dist",
"clean:docs": "rm -rf docs",
"lint": "eslint .",
"prepublishOnly": "run-p build:js build:css",
"start": "run-s start:init start:run",
"start:init": "run-s clean:dist build:js:esm build:css",
"start:run": "run-p build:js:esm:watch build:css:watch storybook",
"storybook": "start-storybook -p 6006"
},
"devDependencies": {
"@storybook/addon-a11y": "5.3.19",
"@storybook/addon-knobs": "5.3.19",
"@storybook/preset-typescript": "3.0.0",
"@storybook/react": "5.3.19",
"@testing-library/jest-dom": "5.11.2",
"@testing-library/react": "10.4.7",
"@types/jest": "26.0.8",
"@types/node": "14.0.27",
"@types/react": "^17.0.4",
"@types/react-dom": "^17.0.0",
"@typescript-eslint/eslint-plugin": "3.7.1",
"@typescript-eslint/parser": "3.7.1",
"axe-core": "3.5.5",
"babel-loader": "8.1.0",
"chokidar-cli": "2.1.0",
"eslint": "7.6.0",
"eslint-plugin-jest": "23.20.0",
"eslint-plugin-jsx-a11y": "6.3.1",
"eslint-plugin-react": "7.20.5",
"eslint-plugin-react-hooks": "4.0.8",
"jest": "26.2.2",
"npm-run-all": "4.1.5",
"react": "16.13.1",
"react-dom": "^17.0.2",
"ts-jest": "26.1.4",
"ts-loader": "8.0.2",
"typescript": "3.9.7",
"tslib": "2.0.0"
},
"dependencies": {
"weui": "^1.1.0"
},
"peerDependencies": {
"react": "^17.0.2"
}
}