-
-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathpackage.json
152 lines (152 loc) · 4.72 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
{
"name": "@jambonz/ui-kit",
"version": "0.0.21",
"description": "A minimal, light-weight UI design package for developing frontends for jambonz apps.",
"main": "dist/cjs/index.js",
"module": "dist/esm/index.js",
"typings": "dist/defs/index.d.ts",
"sideEffects": false,
"scripts": {
"prebuild": "rm -rf build && rm -rf dist",
"build": "npm run build:esm && npm run build:cjs && npm run build:defs && npm run build:styles",
"postbuild": "npm run package && npm run build:rollup",
"build:esm": "tsc --module esnext --outDir dist/esm --sourceMap",
"build:cjs": "tsc --module commonjs --outDir dist/cjs --sourceMap",
"build:defs": "tsc --declaration --outDir dist/defs --emitDeclarationOnly --declarationMap",
"build:styles": "sass src/styles/index.scss css/styles.css",
"postbuild:styles": "sass src/styles/index.scss css/styles.min.css --style=compressed",
"build:rollup": "rollup --config rollup.config.js",
"prepackage": "rm -rf pkg && mkdir pkg",
"package": "cp package.json pkg/package.json && cp LICENSE pkg/LICENSE && cp README.md pkg/README.md && mkdir pkg/public && mv css pkg/public/css && mv dist pkg/dist && cp -R fonts pkg/public/fonts && cp -R src pkg/src",
"postpackage": "gzip --stdout pkg/public/css/styles.min.css > pkg/public/css/styles.min.css.gz",
"lint": "eslint . --ext js,ts,tsx --max-warnings=0",
"format": "prettier --check .",
"check": "tsc --noEmit true",
"check:stories": "find stories -type f -name \"*.tsx\" | xargs tsc --noEmit true --jsx react-jsx --module esnext --moduleResolution node --allowSyntheticDefaultImports true",
"prestorybook": "npm run build",
"storybook": "start-storybook -p 6006",
"prebuild-storybook": "npm run build",
"build-storybook": "build-storybook"
},
"contributors": [
{
"name": "Brandon Lee Kitajchuk",
"email": "[email protected]",
"url": "https://www.kitajchuk.com"
}
],
"publishConfig": {
"access": "public",
"registry": "https://registry.npmjs.org/"
},
"license": "MIT",
"engines": {
"node": ">= 14"
},
"repository": {
"type": "git",
"url": "git+https://github.com/jambonz/jambonz-ui.git"
},
"bugs": {
"url": "https://github.com/jambonz/jambonz-ui/issues"
},
"homepage": "https://jambonz.org/docs/jambonz-ui/",
"peerDependencies": {
"react": ">=17.0.2",
"react-dom": ">=17.0.2",
"react-feather": ">=2.0.9"
},
"devDependencies": {
"@babel/core": "^7.18.6",
"@babel/preset-env": "^7.18.6",
"@babel/preset-react": "^7.18.6",
"@rollup/plugin-babel": "^5.3.1",
"@storybook/addon-actions": "^6.5.10",
"@storybook/addon-essentials": "^6.5.10",
"@storybook/addon-interactions": "^6.5.10",
"@storybook/addon-links": "^6.5.10",
"@storybook/react": "^6.5.10",
"@storybook/testing-library": "^0.0.13",
"@types/react": "^18.0.14",
"@types/react-dom": "^18.0.5",
"@typescript-eslint/eslint-plugin": "^5.33.0",
"@typescript-eslint/parser": "^5.33.0",
"babel-loader": "^8.2.5",
"browserslist": "^4.21.5",
"@storybook/builder-webpack4": "^6.5.16",
"@storybook/manager-webpack4": "^6.5.16",
"eslint": "^8.21.0",
"eslint-config-prettier": "^8.5.0",
"eslint-plugin-jsx-a11y": "^6.6.1",
"eslint-plugin-react": "^7.30.1",
"eslint-plugin-react-hooks": "^4.6.0",
"husky": "^8.0.1",
"lint-staged": "^13.0.3",
"prettier": "^2.7.1",
"react": "^18.2.0",
"react-dom": "^18.2.0",
"react-feather": "^2.0.10",
"react-router-dom": "^6.3.0",
"rollup": "^2.75.7",
"rollup-plugin-gzip": "^3.0.1",
"rollup-plugin-terser": "^7.0.2",
"sass": "^1.32.8",
"storybook": "^6.5.10",
"typescript": "^4.7.4"
},
"lint-staged": {
"*.{js,ts,tsx}": "eslint --max-warnings=0",
"*.{js,ts,tsx,json,md,html,scss,css,yml,mdx}": "prettier --write"
},
"babel": {
"presets": [
[
"@babel/preset-env",
{
"modules": false
}
],
"@babel/preset-react"
]
},
"eslintConfig": {
"root": true,
"extends": [
"plugin:@typescript-eslint/recommended",
"plugin:react/recommended",
"plugin:jsx-a11y/recommended",
"prettier"
],
"plugins": [
"@typescript-eslint",
"react-hooks",
"jsx-a11y",
"react"
],
"rules": {
"react/jsx-key": [
"error",
{
"checkFragmentShorthand": true
}
],
"react/prop-types": [
0
],
"@typescript-eslint/no-non-null-assertion": [
0
]
},
"parser": "@typescript-eslint/parser",
"settings": {
"react": {
"version": "detect"
}
},
"ignorePatterns": [
"pkg",
"!.storybook",
"node_modules"
]
}
}