-
Notifications
You must be signed in to change notification settings - Fork 11
/
package.json
172 lines (172 loc) · 6.25 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
165
166
167
168
169
170
171
172
{
"name": "@deriv/quill-icons",
"version": "2.2.2",
"description": "This is the central repository for quill icons, exported from figma design file",
"files": [
"dist"
],
"main": "./dist/cjs/index.js",
"types": "./dist/cjs/index.d.ts",
"sideEffects": false,
"exports": {
".": {
"require": "./dist/cjs/index.js",
"import": "./dist/esm/index.js",
"types": "./dist/esm/index.d.ts"
},
"./Currencies": {
"require": "./dist/cjs/react/Currencies/index.js",
"import": "./dist/esm/react/Currencies/index.js",
"types": "./dist/esm/react/Currencies/index.d.ts"
},
"./Flags": {
"require": "./dist/cjs/react/Flags/index.js",
"import": "./dist/esm/react/Flags/index.js",
"types": "./dist/esm/react/Flags/index.d.ts"
},
"./Illustrative": {
"require": "./dist/cjs/react/Illustrative/index.js",
"import": "./dist/esm/react/Illustrative/index.js",
"types": "./dist/esm/react/Illustrative/index.d.ts"
},
"./LabelPaired": {
"require": "./dist/cjs/react/LabelPaired/index.js",
"import": "./dist/esm/react/LabelPaired/index.js",
"types": "./dist/esm/react/LabelPaired/index.d.ts"
},
"./Legacy": {
"require": "./dist/cjs/react/Legacy/index.js",
"import": "./dist/esm/react/Legacy/index.js",
"types": "./dist/esm/react/Legacy/index.d.ts"
},
"./Logo": {
"require": "./dist/cjs/react/Logo/index.js",
"import": "./dist/esm/react/Logo/index.js",
"types": "./dist/esm/react/Logo/index.d.ts"
},
"./Markets": {
"require": "./dist/cjs/react/Markets/index.js",
"import": "./dist/esm/react/Markets/index.js",
"types": "./dist/esm/react/Markets/index.d.ts"
},
"./PaymentMethods": {
"require": "./dist/cjs/react/PaymentMethods/index.js",
"import": "./dist/esm/react/PaymentMethods/index.js",
"types": "./dist/esm/react/PaymentMethods/index.d.ts"
},
"./Accounts": {
"require": "./dist/cjs/react/Accounts/index.js",
"import": "./dist/esm/react/Accounts/index.js",
"types": "./dist/esm/react/Accounts/index.d.ts"
},
"./Social": {
"require": "./dist/cjs/react/Social/index.js",
"import": "./dist/esm/react/Social/index.js",
"types": "./dist/esm/react/Social/index.d.ts"
},
"./Standalone": {
"require": "./dist/cjs/react/Standalone/index.js",
"import": "./dist/esm/react/Standalone/index.js",
"types": "./dist/esm/react/Standalone/index.d.ts"
},
"./TradeTypes": {
"require": "./dist/cjs/react/TradeTypes/index.js",
"import": "./dist/esm/react/TradeTypes/index.js",
"types": "./dist/esm/react/TradeTypes/index.d.ts"
},
"./Illustration": {
"require": "./dist/cjs/react/Illustration/index.js",
"import": "./dist/esm/react/Illustration/index.js",
"types": "./dist/esm/react/Illustration/index.d.ts"
},
"./package.json": "./package.json"
},
"scripts": {
"clean": "rimraf stories src/es6 src/react src/index.ts svg sprite",
"export:icons": "ts-node ./node_modules/@figma-export/cli/bin/run use-config ./scripts/figma.config.ts",
"export:logos": "ts-node ./node_modules/@figma-export/cli/bin/run use-config ./scripts/logo.figma.config.ts",
"export:illustrations": "ts-node ./node_modules/@figma-export/cli/bin/run use-config ./scripts/illustrations.figma.config.ts",
"export:figma": "npm-run-all export:icons export:logos export:illustrations",
"rexport": "npm-run-all clean export:figma format",
"export:barrels": "barrelsby -c barrelsby.config.json",
"export": "npm-run-all clean export:figma allIconsNames export:barrels format",
"clean:postBuild": "rimraf dist/types dist/index.d.ts dist/index.js",
"build": "rimraf dist && npx tsc -p tsconfig.json && npx tsc -p tsconfig.esm.json",
"rebuild": "npm-run-all clean export build",
"lint": "eslint .",
"lint:fix": "eslint --fix .",
"format": "prettier --write . --config ./.prettierrc",
"allIconsNames": "cd ./src/react && tree -J > allIconsNames.ts && bash -c 'echo -e \"export const allIconsNames = $(cat allIconsNames.ts)\" > allIconsNames.ts'",
"prepare": "husky install",
"prepublish": "npm run build"
},
"keywords": [],
"devDependencies": {
"@babel/core": "^7.19.3",
"@babel/preset-env": "^7.22.10",
"@babel/preset-react": "^7.22.5",
"@babel/preset-typescript": "^7.22.11",
"@commitlint/cli": "^17.3.0",
"@commitlint/config-conventional": "^17.3.0",
"@figma-export/cli": "^4.5.0",
"@figma-export/output-components-as-svg": "^4.5.0",
"@figma-export/output-components-as-svgr": "^4.5.0",
"@figma-export/types": "^4.5.0",
"@figma-export/utils": "^4.0.0",
"@semantic-release/changelog": "^6.0.3",
"@semantic-release/git": "^10.0.1",
"@svgr/plugin-jsx": "^8.1.0",
"@svgr/plugin-prettier": "^8.1.0",
"@svgr/plugin-svgo": "^8.1.0",
"@swc/core": "^1.3.105",
"@types/babel__core": "^7.20.5",
"@types/node": "^18.11.9",
"@types/react": "^18.0.25",
"@types/svgo": "^3.0.0",
"@typescript-eslint/eslint-plugin": "^5.45.0",
"babel-loader": "^8.3.0",
"barrelsby": "^2.5.1",
"dotenv": "^16.0.3",
"eslint": "^8.28.0",
"eslint-config-prettier": "^8.5.0",
"eslint-config-standard-with-typescript": "^23.0.0",
"eslint-plugin-import": "^2.26.0",
"eslint-plugin-n": "^15.5.1",
"eslint-plugin-promise": "^6.1.1",
"eslint-plugin-react": "^7.31.11",
"husky": "^8.0.2",
"lint-staged": "^13.0.4",
"npm-run-all": "^4.1.5",
"prettier": "^2.8.0",
"rimraf": "^3.0.2",
"semantic-release": "21.1.1",
"svgo": "^3.0.2",
"ts-node": "^10.9.1",
"tslib": "^2.6.2",
"typescript": "^4.9.5",
"webpack": "^5.88.2"
},
"peerDependencies": {
"react": ">= 16",
"react-dom": ">= 16"
},
"publishConfig": {
"registry": "https://registry.npmjs.org/",
"tag": "latest",
"access": "public"
},
"lint-staged": {
"*.js": "eslint --cache --fix",
"*.prettierrc": "prettier --write"
},
"repository": {
"type": "git",
"url": "git+https://github.com/deriv-com/quill-icons.git"
},
"author": "Deriv",
"license": "ISC",
"bugs": {
"url": "https://github.com/deriv-com/quill-icons/issues"
},
"homepage": "https://github.com/deriv-com/quill-icons#readme"
}