emoji-picker-element/package.json

176 lines
5.2 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-05-08 23:59:22 +02:00
"version": "1.0.0",
2020-06-06 17:43:38 +02:00
"description": "A lightweight emoji picker, distributed as a custom element",
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-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 --no-cache",
2020-06-09 16:53:21 +02:00
"test:adhoc": "node ./test/adhoc/server.js",
"cover": "jest --no-cache --coverage"
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",
"IndexedDB"
],
"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-06-04 07:11:26 +02:00
"@babel/preset-env": "^7.10.2",
2020-06-05 16:50:40 +02:00
"@peculiar/webcrypto": "^1.1.1",
2020-05-17 05:36:21 +02:00
"@rollup/plugin-commonjs": "^11.1.0",
"@rollup/plugin-node-resolve": "^7.1.3",
"@rollup/plugin-replace": "^2.3.2",
"@testing-library/dom": "^7.10.1",
2020-06-04 07:11:26 +02:00
"@testing-library/jest-dom": "^5.9.0",
"@testing-library/user-event": "^11.4.1",
2020-06-04 07:11:26 +02:00
"babel-jest": "^26.0.1",
"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-06-15 19:03:07 +02:00
"cssnano": "^4.1.10",
2020-05-08 23:59:22 +02:00
"emojibase-data": "^5.0.1",
2020-06-08 02:01:02 +02:00
"express": "^4.17.1",
2020-06-04 07:11:26 +02:00
"fake-indexeddb": "^3.0.1",
"fetch-mock-jest": "^1.3.0",
2020-06-06 23:55:12 +02:00
"focus-visible": "^5.1.0",
2020-06-01 03:07:10 +02:00
"husky": "^4.2.5",
2020-06-04 07:11:26 +02:00
"jest": "^26.0.1",
2020-06-01 03:07:10 +02:00
"lint-staged": "^10.2.7",
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-04 07:11:26 +02:00
"node-fetch": "^2.6.0",
"npm-run-all": "^4.1.5",
2020-06-15 19:03:07 +02:00
"postcss": "^7.0.32",
2020-06-08 02:01:02 +02:00
"pretty-bytes": "^5.3.0",
"puppeteer": "^3.3.0",
2020-05-10 04:39:47 +02:00
"rollup": "^2.8.2",
2020-06-09 16:09:23 +02:00
"rollup-plugin-analyzer": "^3.2.3",
2020-05-10 04:39:47 +02:00
"rollup-plugin-svelte": "^5.2.1",
2020-05-31 18:34:17 +02:00
"rollup-plugin-svelte-hot": "^0.7.0",
2020-06-08 02:39:14 +02:00
"rollup-plugin-terser": "^6.1.0",
2020-05-31 22:57:56 +02:00
"sass": "^1.26.7",
2020-05-10 04:39:47 +02:00
"standard": "^14.3.3",
2020-06-07 02:36:03 +02:00
"string.prototype.replaceall": "^1.0.3",
2020-06-03 05:07:19 +02:00
"stylelint": "^13.5.0",
"stylelint-config-recommended-scss": "^4.2.0",
"stylelint-scss": "^3.17.2",
2020-05-18 04:08:00 +02:00
"svelte": "^3.22.2",
2020-06-10 08:22:51 +02:00
"svelte-jester": "nolanlawson/svelte-jester#auto-preprocess",
2020-06-07 02:36:03 +02:00
"svelte-preprocess": "^3.7.4",
"typedoc": "^0.17.7",
"typedoc-plugin-markdown": "^2.3.1",
"typescript": "^3.9.5"
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",
"/svelte.js"
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",
2020-06-13 05:16:56 +02:00
"maxSize": "40 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
}