forked from nolanlawson/emoji-picker-element
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
191 lines (191 loc) · 5.67 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
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
{
"name": "emoji-picker-element",
"version": "1.3.0",
"description": "Lightweight emoji picker distributed as a web component",
"main": "index.js",
"module": "index.js",
"types": "index.d.ts",
"type": "module",
"files": [
"database.js*",
"index.js*",
"picker.js*",
"trimEmojiData.*",
"svelte.js*",
"*.d.ts"
],
"scripts": {
"prepare": "run-s build",
"build": "run-s build:rollup build:css-docs build:i18n-docs build:types build:typedoc build:toc",
"build:rollup": "NODE_ENV=production rollup -c",
"build:css-docs": "node ./bin/generateCssDocs",
"build:i18n-docs": "node ./bin/generateI18nDocs",
"build:typedoc": "typedoc --target ES5 --out docs-tmp --theme markdown --excludePrivate --excludeNotExported --hideSources --hideBreadcrumbs ./src/types && node ./bin/generateTypeDocs && rm -fr docs-tmp",
"build:types": "tsc --target ES5 -d --outDir ./ts-tmp ./src/types/*.ts && mv ./ts-tmp/*.d.ts ./ && rm -fr ts-tmp",
"build:toc": "node ./bin/generateTOC",
"benchmark:bundlesize": "run-s build:rollup benchmark:bundle benchmark:run-bundlesize",
"benchmark:bundle": "rollup -c ./test/bundlesize/rollup.config.js",
"benchmark:memory": "run-s build:rollup benchmark:bundle && run-p --race benchmark:memory:server benchmark:memory:test",
"benchmark:memory:server": "node ./test/memory/server.js",
"benchmark:memory:test": "node ./test/memory/test.js",
"benchmark:run-bundlesize": "bundlesize",
"test:leak": "run-s build:rollup && run-p --race test:leak:server test:leak:test",
"test:leak:server": "node ./test/leak/server.js",
"test:leak:test": "node ./test/leak/test.js",
"dev": "run-p --race dev:rollup dev:server",
"dev:rollup": "NODE_ENV=development rollup -c -w",
"dev:server": "node ./test/adhoc/server.js",
"lint": "standard && stylelint '**/*.scss'",
"lint:fix": "standard --fix && stylelint --fix '**/*.scss'",
"test": "jest",
"test:adhoc": "node ./test/adhoc/server.js",
"cover": "jest --coverage",
"docs": "node bin/processCustomEmoji.js",
"changelog": "conventional-changelog -p angular -i CHANGELOG.md -s",
"version": "run-s changelog docs && git add CHANGELOG.md docs"
},
"repository": {
"type": "git",
"url": "git+https://github.com/nolanlawson/emoji-picker-element.git"
},
"keywords": [
"emoji",
"picker",
"IndexedDB",
"custom",
"element",
"web",
"component",
"svelte"
],
"author": "Nolan Lawson <[email protected]>",
"license": "Apache-2.0",
"bugs": {
"url": "https://github.com/nolanlawson/emoji-picker-element/issues"
},
"homepage": "https://github.com/nolanlawson/emoji-picker-element#readme",
"devDependencies": {
"@babel/preset-env": "^7.12.1",
"@peculiar/webcrypto": "^1.1.3",
"@rollup/plugin-commonjs": "^16.0.0",
"@rollup/plugin-node-resolve": "^10.0.0",
"@rollup/plugin-replace": "^2.3.4",
"@testing-library/dom": "^7.26.0",
"@testing-library/jest-dom": "^5.11.4",
"@testing-library/user-event": "^12.1.8",
"babel-jest": "^26.5.2",
"blob-util": "^2.0.2",
"bundlesize": "^0.18.0",
"compression": "^1.7.4",
"conventional-changelog-cli": "^2.1.0",
"cssnano": "^4.1.10",
"emoji-picker-element-data": "^1.0.0",
"emojibase-data": "^5.1.1",
"express": "^4.17.1",
"fake-indexeddb": "^3.1.2",
"fetch-mock-jest": "^1.3.0",
"flat-color-icons": "^1.1.0",
"focus-visible": "^5.2.0",
"husky": "^4.3.0",
"jest": "^26.5.3",
"lint-staged": "^10.4.2",
"lodash-es": "^4.17.15",
"markdown-table": "^2.0.0",
"markdown-toc": "^1.2.0",
"mkdirp": "^1.0.4",
"node-fetch": "^2.6.1",
"npm-run-all": "^4.1.5",
"postcss": "^8.1.1",
"pretty-bytes": "^5.4.1",
"puppeteer": "^5.3.1",
"recursive-readdir": "^2.2.2",
"rimraf": "^3.0.2",
"rollup": "^2.32.0",
"rollup-plugin-analyzer": "^3.3.0",
"rollup-plugin-svelte": "^6.1.0",
"rollup-plugin-svelte-hot": "^0.11.1",
"rollup-plugin-terser": "^7.0.2",
"sass": "^1.27.0",
"standard": "^14.3.4",
"string.prototype.replaceall": "^1.0.3",
"stylelint": "^13.7.2",
"stylelint-config-recommended-scss": "^4.2.0",
"stylelint-scss": "^3.18.0",
"svelte": "^3.29.4",
"svelte-jester": "nolanlawson/svelte-jester#auto-preprocess",
"svelte-preprocess": "^4.5.2",
"svgo": "^1.3.2",
"typedoc": "^0.19.2",
"typedoc-plugin-markdown": "^2.4.0",
"typescript": "^4.0.5"
},
"standard": {
"ignore": [
"/database.js",
"/index.js",
"/picker.js",
"/trimEmojiData.js",
"/trimEmojiData.cjs",
"/svelte.js",
"/docs"
],
"global": [
"btoa",
"crypto",
"customElements",
"CustomEvent",
"fetch",
"getComputedStyle",
"indexedDB",
"IDBKeyRange",
"matchMedia",
"performance",
"ResizeObserver",
"Response",
"requestAnimationFrame",
"requestIdleCallback",
"test",
"expect",
"jest",
"beforeAll",
"afterAll",
"beforeEach",
"afterEach",
"describe"
]
},
"stylelint": {
"extends": "stylelint-config-recommended-scss",
"rules": {
"selector-type-no-unknown": [
true,
{
"ignoreTypes": [
"emoji-picker"
]
}
]
}
},
"husky": {
"hooks": {
"pre-commit": "lint-staged"
}
},
"lint-staged": {
"*.js": "standard --fix",
"*.(css|scss)": "stylelint --fix '**/*.scss'"
},
"bundlesize": [
{
"path": "./bundle.js",
"maxSize": "41 kB",
"compression": "none"
},
{
"path": "./bundle.js",
"maxSize": "15 kB",
"compression": "brotli"
}
]
}