-
Notifications
You must be signed in to change notification settings - Fork 13
/
Copy pathpackage.json
119 lines (119 loc) · 4.21 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
{
"name": "@fabric-ds/react",
"version": "1.5.2",
"repository": "[email protected]:fabric-ds/react.git",
"license": "ISC",
"type": "module",
"exports": {
".": {
"import": "./dist/npm/index.js",
"require": "./dist/npm/index.cjs",
"default": "./dist/npm/index.js"
},
"./cjs": "./dist/npm/index.cjs"
},
"module": "dist/npm/index.js",
"main": "dist/npm/index.js",
"files": [
"dist/npm"
],
"types": "dist/npm/index.d.ts",
"publishConfig": {
"access": "public"
},
"peerDependencies": {
"react": "17.0.2"
},
"scripts": {
"commit": "cz",
"build:clean": "rm -rf dist",
"build:eik": "node esbuild.mjs 17 && node esbuild.mjs 18",
"build:types": "tsc && sed 's+declare module \"index\"+declare module \"@fabric-ds/react\"+g' ./dist/npm/index.d.ts > ./dist/npm/updated.d.ts && mv ./dist/npm/updated.d.ts ./dist/npm/index.d.ts",
"build:npm": "npx esbuild ./packages/index.ts --outdir=dist/npm --target=es2017 --bundle --sourcemap --format=esm --external:react --minify",
"build:node": "npx esbuild ./packages/index.ts --outdir=dist/npm --out-extension:.js=.cjs --target=es2017 --bundle --sourcemap --format=cjs --external:react --minify",
"build": "npm run build:clean && npm run build:npm && npm run build:node && npm run build:eik && npm run build:types",
"docs:build": "vite build && cd site && cp index.html 404.html && cp ../CNAME .",
"docs:dev": "vite",
"dev": "start-storybook -p 9003 --ci",
"format": "prettier --write . --ignore-path .gitignore",
"lint": "npm run lint:format && npm run lint:eslint",
"lint:eslint": "eslint . --ext ts,tsx,js,jsx,cjs --max-warnings 0 --ignore-path .gitignore",
"lint:format": "prettier --check . --ignore-path .gitignore",
"eik:login": "npx @eik/cli login",
"eik:publish": "npx @eik/cli publish",
"eik:alias": "npx @eik/cli pkg-alias",
"semantic-release": "semantic-release"
},
"devDependencies": {
"@babel/core": "^7.12.10",
"@chbphone55/classnames": "^2.0.0",
"@eik/esbuild-plugin": "^1.1.0",
"@fabric-ds/icons": "0.5.1",
"@mdx-js/mdx": "^1.6.22",
"@mdx-js/react": "1.6.22",
"@semantic-release/changelog": "^6.0.1",
"@semantic-release/git": "^10.0.1",
"@storybook/addon-actions": "^6.5.0-beta.0",
"@storybook/addon-postcss": "^2.0.0",
"@storybook/builder-webpack5": "^6.5.0-beta.0",
"@storybook/manager-webpack5": "^6.5.0-beta.0",
"@storybook/react": "^6.5.3",
"@types/react": "^17.0.0",
"@types/react-dom": "^17.0.0",
"@typescript-eslint/eslint-plugin": "^4.14.1",
"@typescript-eslint/parser": "^4.14.1",
"@vitejs/plugin-react-refresh": "^1.1.3",
"babel-eslint": "^10.1.0",
"cz-conventional-changelog": "^3.3.0",
"dotenv-webpack": "^7.1.0",
"element-collapse": "^1.0.1",
"esbuild": "0.15.5",
"eslint": "^7.18.0",
"eslint-config-react-app": "^6.0.0",
"eslint-plugin-flowtype": "^5.2.0",
"eslint-plugin-import": "^2.22.1",
"eslint-plugin-jsx-a11y": "^6.4.1",
"eslint-plugin-react": "^7.22.0",
"eslint-plugin-react-hooks": "^4.2.0",
"eslint-plugin-storybook": "^0.5.11",
"html-webpack-plugin": "^5.5.0",
"microbundle": "^0.13.3",
"prettier": "^2.2.1",
"prism-react-renderer": "^1.1.1",
"react": "16.14.0",
"react-docgen-typescript": "^1.20.5",
"react-dom": "16.14.0",
"react-focus-lock": "^2.5.2",
"react-router-dom": "^5.2.0",
"rehype-stringify": "^8.0.0",
"remark-autolink-headings": "^6.0.1",
"remark-parse": "^9.0.0",
"remark-rehype": "^8.0.0",
"remark-slug": "^6.0.0",
"resize-observer-polyfill": "^1.5.1",
"semantic-release": "^19.0.2",
"semantic-release-slack-bot": "^3.5.2",
"typescript": "4.2.2",
"vite": "^2.3.3",
"vite-plugin-mdx": "3.5.10",
"webpack": "^5.36.2"
},
"dependencies": {
"@chbphone55/classnames": "^2.0.0",
"@fabric-ds/core": "0.0.15",
"@fabric-ds/css": "^1.1.4",
"react-focus-lock": "^2.5.2",
"resize-observer-polyfill": "^1.5.1",
"scroll-doctor": "^1.0.0"
},
"eik": {
"server": "https://assets.finn.no",
"type": "package",
"files": "./dist/eik"
},
"config": {
"commitizen": {
"path": "./node_modules/cz-conventional-changelog"
}
}
}