emoji-picker-element/package.json

197 lines
6.0 KiB
JSON
Raw Normal View History

2020-05-08 23:59:22 +02:00
{
2020-06-06 06:02:53 +02:00
"name": "emoji-picker-element",
2020-12-25 22:55:33 +01:00
"version": "1.3.3",
2020-06-25 06:59:19 +02:00
"description": "Lightweight emoji picker distributed as a web component",
2020-06-04 05:12:43 +02:00
"main": "index.js",
"module": "index.js",
2020-06-07 03:08:05 +02:00
"types": "index.d.ts",
2020-06-04 05:12:43 +02:00
"type": "module",
2020-05-10 04:39:47 +02:00
"files": [
"database.js*",
"index.js*",
2020-06-07 03:08:05 +02:00
"picker.js*",
2020-06-20 23:06:19 +02:00
"trimEmojiData.*",
2020-06-21 20:55:27 +02:00
"svelte.js*",
2020-06-07 03:08:05 +02:00
"*.d.ts"
2020-05-10 04:39:47 +02:00
],
2020-05-08 23:59:22 +02:00
"scripts": {
2020-06-07 03:08:05 +02:00
"prepare": "run-s build",
2020-06-21 20:55:27 +02:00
"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",
2020-06-06 23:27:24 +02:00
"build:i18n-docs": "node ./bin/generateI18nDocs",
2020-06-14 21:09:11 +02:00
"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",
2020-06-21 20:55:27 +02:00
"build:toc": "node ./bin/generateTOC",
"benchmark:bundlesize": "run-s build:rollup benchmark:bundle benchmark:run-bundlesize",
2020-06-09 16:09:23 +02:00
"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",
2020-06-08 02:24:56 +02:00
"benchmark:memory:server": "node ./test/memory/server.js",
"benchmark:memory:test": "node ./test/memory/test.js",
"benchmark:run-bundlesize": "bundlesize",
2020-12-25 19:27:25 +01:00
"benchmark:storage": "PERF=1 run-s build:rollup && run-p --race test:adhoc benchmark:storage:test",
"benchmark:storage:test": "node ./test/storage/test.js",
2020-06-20 20:34:29 +02:00
"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",
2020-06-08 04:48:38 +02:00
"dev": "run-p --race dev:rollup dev:server",
"dev:rollup": "NODE_ENV=development rollup -c -w",
"dev:server": "node ./test/adhoc/server.js",
2020-06-03 05:07:19 +02:00
"lint": "standard && stylelint '**/*.scss'",
"lint:fix": "standard --fix && stylelint --fix '**/*.scss'",
"test": "jest --runInBand",
2020-06-09 16:53:21 +02:00
"test:adhoc": "node ./test/adhoc/server.js",
"cover": "jest --runInBand --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"
2020-05-08 23:59:22 +02:00
},
"repository": {
"type": "git",
2020-06-06 06:02:53 +02:00
"url": "git+https://github.com/nolanlawson/emoji-picker-element.git"
2020-05-08 23:59:22 +02:00
},
"keywords": [
"emoji",
"picker",
2020-06-23 08:15:54 +02:00
"IndexedDB",
"custom",
"element",
"web",
2020-06-25 06:59:19 +02:00
"component",
"svelte"
2020-05-08 23:59:22 +02:00
],
"author": "Nolan Lawson <nolan@nolanlawson.com>",
"license": "Apache-2.0",
"bugs": {
2020-06-06 06:02:53 +02:00
"url": "https://github.com/nolanlawson/emoji-picker-element/issues"
2020-05-08 23:59:22 +02:00
},
2020-06-06 06:02:53 +02:00
"homepage": "https://github.com/nolanlawson/emoji-picker-element#readme",
2020-05-08 23:59:22 +02:00
"devDependencies": {
2020-12-24 22:43:59 +01:00
"@babel/preset-env": "^7.12.11",
"@peculiar/webcrypto": "^1.1.4",
"@rollup/plugin-commonjs": "^16.0.0",
"@rollup/plugin-node-resolve": "^10.0.0",
"@rollup/plugin-replace": "^2.3.4",
2020-12-24 22:43:59 +01:00
"@testing-library/dom": "^7.29.0",
"@testing-library/jest-dom": "^5.11.6",
"@testing-library/user-event": "^12.6.0",
"babel-jest": "^26.6.3",
"blob-util": "^2.0.2",
2020-06-08 02:39:14 +02:00
"bundlesize": "^0.18.0",
2020-06-09 07:00:13 +02:00
"compression": "^1.7.4",
2020-12-24 22:43:59 +01:00
"conventional-changelog-cli": "^2.1.1",
2020-06-15 19:03:07 +02:00
"cssnano": "^4.1.10",
"d2l-resize-aware": "BrightspaceUI/resize-aware#semver:^1.2.2",
"emoji-picker-element-data": "^1.0.0",
2020-08-17 05:56:59 +02:00
"emojibase-data": "^5.1.1",
2020-06-08 02:01:02 +02:00
"express": "^4.17.1",
2020-08-17 05:56:59 +02:00
"fake-indexeddb": "^3.1.2",
2020-12-24 22:43:59 +01:00
"fetch-mock-jest": "^1.5.1",
"flat-color-icons": "^1.1.0",
"focus-visible": "^5.2.0",
2020-12-25 19:27:25 +01:00
"get-folder-size": "^2.0.1",
2020-12-24 22:43:59 +01:00
"husky": "^4.3.6",
"jest": "^26.6.3",
"lint-staged": "^10.5.3",
2020-05-17 19:56:31 +02:00
"lodash-es": "^4.17.15",
"markdown-table": "^2.0.0",
2020-06-21 20:55:27 +02:00
"markdown-toc": "^1.2.0",
2020-06-22 09:04:15 +02:00
"mkdirp": "^1.0.4",
2020-10-18 02:29:32 +02:00
"node-fetch": "^2.6.1",
"npm-run-all": "^4.1.5",
2020-12-25 19:27:25 +01:00
"playwright": "^1.7.1",
2020-12-24 22:43:59 +01:00
"postcss": "^8.2.1",
2020-10-18 02:29:32 +02:00
"pretty-bytes": "^5.4.1",
2020-12-24 22:43:59 +01:00
"puppeteer": "^5.5.0",
2020-06-22 09:04:15 +02:00
"recursive-readdir": "^2.2.2",
"rimraf": "^3.0.2",
2020-10-18 02:29:32 +02:00
"rollup": "^2.32.0",
2020-08-17 05:56:59 +02:00
"rollup-plugin-analyzer": "^3.3.0",
"rollup-plugin-svelte": "^6.1.0",
"rollup-plugin-svelte-hot": "^0.11.1",
2020-10-18 02:29:32 +02:00
"rollup-plugin-terser": "^7.0.2",
2020-12-24 22:43:59 +01:00
"sass": "^1.30.0",
2020-12-24 22:52:41 +01:00
"standard": "^16.0.3",
2020-12-24 22:43:59 +01:00
"string.prototype.replaceall": "^1.0.4",
"stylelint": "^13.8.0",
2020-06-03 05:07:19 +02:00
"stylelint-config-recommended-scss": "^4.2.0",
2020-08-17 05:56:59 +02:00
"stylelint-scss": "^3.18.0",
"svelte": "^3.29.4",
2020-06-10 08:22:51 +02:00
"svelte-jester": "nolanlawson/svelte-jester#auto-preprocess",
"svelte-preprocess": "^4.5.2",
2020-06-27 04:07:07 +02:00
"svgo": "^1.3.2",
2020-11-02 01:52:07 +01:00
"typedoc": "^0.19.2",
2020-12-24 22:43:59 +01:00
"typedoc-plugin-markdown": "^2.4.2",
"typescript": "^4.1.3"
2020-05-08 23:59:22 +02:00
},
"standard": {
2020-06-04 05:12:43 +02:00
"ignore": [
"/database.js",
"/index.js",
2020-06-20 23:06:19 +02:00
"/picker.js",
"/trimEmojiData.js",
2020-06-21 20:55:27 +02:00
"/trimEmojiData.cjs",
2020-06-22 05:46:51 +02:00
"/svelte.js",
"/docs"
2020-06-04 05:12:43 +02:00
],
2020-05-08 23:59:22 +02:00
"global": [
2020-06-02 03:57:46 +02:00
"btoa",
"crypto",
"customElements",
2020-06-06 18:54:23 +02:00
"CustomEvent",
2020-05-13 05:25:46 +02:00
"fetch",
2020-06-13 05:14:47 +02:00
"getComputedStyle",
2020-05-08 23:59:22 +02:00
"indexedDB",
2020-05-17 22:51:07 +02:00
"IDBKeyRange",
2020-05-31 22:57:07 +02:00
"matchMedia",
"performance",
2020-06-06 21:38:08 +02:00
"ResizeObserver",
2020-06-07 09:10:11 +02:00
"Response",
2020-05-17 22:51:07 +02:00
"requestAnimationFrame",
2020-06-04 07:11:26 +02:00
"requestIdleCallback",
"test",
"expect",
"jest",
"beforeAll",
"afterAll",
"beforeEach",
"afterEach",
"describe"
2020-05-08 23:59:22 +02:00
]
2020-06-01 03:07:10 +02:00
},
2020-06-03 05:07:19 +02:00
"stylelint": {
"extends": "stylelint-config-recommended-scss",
"rules": {
"selector-type-no-unknown": [
true,
{
"ignoreTypes": [
2020-06-06 06:02:53 +02:00
"emoji-picker"
2020-06-03 05:07:19 +02:00
]
}
]
}
},
2020-06-01 03:07:10 +02:00
"husky": {
"hooks": {
"pre-commit": "lint-staged"
}
},
"lint-staged": {
2020-06-03 05:07:19 +02:00
"*.js": "standard --fix",
"*.(css|scss)": "stylelint --fix '**/*.scss'"
2020-06-08 02:39:14 +02:00
},
"bundlesize": [
{
"path": "./bundle.js",
"maxSize": "41.1 kB",
2020-06-08 02:39:14 +02:00
"compression": "none"
2020-06-14 02:55:13 +02:00
},
{
"path": "./bundle.js",
"maxSize": "15 kB",
"compression": "brotli"
2020-06-08 02:39:14 +02:00
}
]
2020-05-08 23:59:22 +02:00
}