190 lines
6.0 KiB
JSON
190 lines
6.0 KiB
JSON
{
|
|
"name": "emoji-picker-element",
|
|
"version": "1.21.3",
|
|
"description": "Lightweight emoji picker distributed as a web component",
|
|
"main": "index.js",
|
|
"module": "index.js",
|
|
"types": "index.d.ts",
|
|
"type": "module",
|
|
"customElements": "custom-elements.json",
|
|
"files": [
|
|
"/database.js*",
|
|
"/index.js*",
|
|
"/picker.js*",
|
|
"/trimEmojiData.*",
|
|
"/svelte.js*",
|
|
"/*.d.ts",
|
|
"/custom-elements.json",
|
|
"/i18n/*"
|
|
],
|
|
"scripts": {
|
|
"prepare": "run-s build && husky install",
|
|
"build": "run-s build:rollup build:i18n build:css-docs build:i18n-docs build:toc",
|
|
"build:rollup": "cross-env NODE_ENV=production rollup -c",
|
|
"build:css-docs": "node ./bin/generateCssDocs",
|
|
"build:i18n-docs": "node ./bin/generateI18nDocs",
|
|
"build:toc": "node ./bin/generateTOC",
|
|
"build:i18n": "node ./bin/buildI18n",
|
|
"benchmark:runtime": "cross-env PERF=1 run-s build:rollup benchmark:runtime:setup benchmark:runtime:test",
|
|
"benchmark:runtime:setup": "./bin/setup-benchmark.sh && node ./bin/setupTachometerConfigs.js",
|
|
"benchmark:runtime:test": "for config in ./test/benchmark/*.tachometer.json; do echo \"${config}\"; tach --config \"${config}\"; done",
|
|
"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": "node ./bin/bundlesize.js",
|
|
"benchmark:storage": "cross-env PERF=1 run-s build:rollup && run-p --race test:adhoc benchmark:storage:test",
|
|
"benchmark:storage:test": "node ./test/storage/test.js",
|
|
"test:leak": "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": "cross-env 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": "vitest",
|
|
"test:adhoc": "node ./test/adhoc/server.js",
|
|
"cover": "vitest --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"
|
|
],
|
|
"author": "Nolan Lawson <nolan@nolanlawson.com>",
|
|
"license": "Apache-2.0",
|
|
"bugs": {
|
|
"url": "https://github.com/nolanlawson/emoji-picker-element/issues"
|
|
},
|
|
"homepage": "https://github.com/nolanlawson/emoji-picker-element#readme",
|
|
"devDependencies": {
|
|
"@rollup/plugin-commonjs": "^25.0.7",
|
|
"@rollup/plugin-inject": "^5.0.5",
|
|
"@rollup/plugin-node-resolve": "^15.2.3",
|
|
"@rollup/plugin-replace": "^5.0.5",
|
|
"@rollup/plugin-strip": "^3.0.4",
|
|
"@rollup/plugin-terser": "^0.4.4",
|
|
"@testing-library/dom": "^9.3.4",
|
|
"@testing-library/jest-dom": "^6.4.2",
|
|
"@testing-library/user-event": "^14.5.2",
|
|
"@vitest/coverage-istanbul": "^1.4.0",
|
|
"@vitest/ui": "^1.4.0",
|
|
"blob-util": "^2.0.2",
|
|
"compression": "^1.7.4",
|
|
"conventional-changelog-cli": "^4.1.0",
|
|
"cross-env": "^7.0.3",
|
|
"csso": "^5.0.2",
|
|
"d2l-resize-aware": "github:BrightspaceUI/resize-aware#semver:^1.2.2",
|
|
"emoji-picker-element-data": "^1.6.0",
|
|
"emojibase-data": "^5.1.1",
|
|
"express": "^4.19.1",
|
|
"fake-indexeddb": "^5.0.2",
|
|
"fast-glob": "^3.3.2",
|
|
"fetch-mock": "^9.11.0",
|
|
"flat-color-icons": "^1.1.0",
|
|
"get-folder-size": "^4.0.0",
|
|
"husky": "^9.0.11",
|
|
"jsdom": "^24.0.0",
|
|
"lint-staged": "^15.2.2",
|
|
"lodash-es": "^4.17.15",
|
|
"markdown-table": "^3.0.2",
|
|
"markdown-toc": "^1.2.0",
|
|
"minify-html-literals": "^1.3.5",
|
|
"node-fetch": "^2.7.0",
|
|
"npm-run-all": "^4.1.5",
|
|
"playwright": "^1.42.1",
|
|
"pretty-bytes": "^6.1.1",
|
|
"postcss": "^8.4.38",
|
|
"puppeteer": "^22.6.0",
|
|
"recursive-readdir": "^2.2.3",
|
|
"rollup": "^4.13.0",
|
|
"rollup-plugin-analyzer": "^4.0.0",
|
|
"sass": "^1.72.0",
|
|
"standard": "^17.1.0",
|
|
"stylelint": "^16.2.1",
|
|
"stylelint-config-recommended-scss": "^14.0.0",
|
|
"stylelint-scss": "^6.2.1",
|
|
"svgo": "^3.2.0",
|
|
"tachometer": "^0.7.0",
|
|
"terser": "^5.29.2",
|
|
"vitest": "^1.4.0"
|
|
},
|
|
"//": {
|
|
"jsonwebtoken": "comes from tachometer, tachometer is pinned for now due to breaking change, but jsonwebtoken 8 has a vuln"
|
|
},
|
|
"resolutions": {
|
|
"jsonwebtoken": "^9.0.0"
|
|
},
|
|
"standard": {
|
|
"ignore": [
|
|
"/database.js",
|
|
"/index.js",
|
|
"/picker.js",
|
|
"/trimEmojiData.js",
|
|
"/trimEmojiData.cjs",
|
|
"/svelte.js",
|
|
"/docs"
|
|
],
|
|
"global": [
|
|
"btoa",
|
|
"crypto",
|
|
"customElements",
|
|
"CustomEvent",
|
|
"Event",
|
|
"fetch",
|
|
"getComputedStyle",
|
|
"Element",
|
|
"indexedDB",
|
|
"IDBKeyRange",
|
|
"Headers",
|
|
"HTMLElement",
|
|
"matchMedia",
|
|
"Node",
|
|
"NodeFilter",
|
|
"performance",
|
|
"ResizeObserver",
|
|
"Response",
|
|
"requestAnimationFrame",
|
|
"requestIdleCallback",
|
|
"test",
|
|
"expect",
|
|
"beforeAll",
|
|
"afterAll",
|
|
"beforeEach",
|
|
"afterEach",
|
|
"describe"
|
|
]
|
|
},
|
|
"stylelint": {
|
|
"extends": "stylelint-config-recommended-scss",
|
|
"rules": {
|
|
"selector-type-no-unknown": [
|
|
true,
|
|
{
|
|
"ignoreTypes": [
|
|
"emoji-picker"
|
|
]
|
|
}
|
|
]
|
|
}
|
|
},
|
|
"lint-staged": {
|
|
"*.js": "standard --fix",
|
|
"*.(css|scss)": "stylelint --fix '**/*.scss'"
|
|
},
|
|
"packageManager": "pnpm@8.15.5+sha256.4b4efa12490e5055d59b9b9fc9438b7d581a6b7af3b5675eb5c5f447cee1a589"
|
|
}
|