134 lines
3.6 KiB
JSON
134 lines
3.6 KiB
JSON
{
|
|
"name": "emoji-picker-element",
|
|
"version": "1.0.0",
|
|
"description": "A lightweight emoji picker, distributed as a custom element",
|
|
"main": "index.js",
|
|
"module": "index.js",
|
|
"types": "index.d.ts",
|
|
"type": "module",
|
|
"files": [
|
|
"database.js*",
|
|
"index.js*",
|
|
"picker.js*",
|
|
"*.d.ts"
|
|
],
|
|
"scripts": {
|
|
"prepare": "run-s build",
|
|
"build": "run-s build:rollup build:css-docs build:i18n-docs build:types build:typedoc",
|
|
"build:rollup": "NODE_ENV=production rollup -c",
|
|
"build:css-docs": "node ./bin/generateCssDocs",
|
|
"build:i18n-docs": "node ./bin/generateI18nDocs",
|
|
"build:typedoc": "typedoc --out docs-tmp --theme markdown --excludePrivate --excludeNotExported --hideSources --hideBreadcrumbs ./src/types && node ./bin/generateTypeDocs && rm -fr docs-tmp",
|
|
"build:types": "tsc -d --outDir ./ts-tmp ./src/types/*.ts && mv ./ts-tmp/*.d.ts ./ && rm -fr ts-tmp",
|
|
"dev": "NODE_ENV=development rollup -c -w",
|
|
"lint": "standard && stylelint '**/*.scss'",
|
|
"lint:fix": "standard --fix && stylelint --fix '**/*.scss'",
|
|
"test": "jest",
|
|
"cover": "jest --coverage"
|
|
},
|
|
"repository": {
|
|
"type": "git",
|
|
"url": "git+https://github.com/nolanlawson/emoji-picker-element.git"
|
|
},
|
|
"keywords": [
|
|
"emoji",
|
|
"picker",
|
|
"IndexedDB"
|
|
],
|
|
"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": {
|
|
"@babel/preset-env": "^7.10.2",
|
|
"@peculiar/webcrypto": "^1.1.1",
|
|
"@rollup/plugin-commonjs": "^11.1.0",
|
|
"@rollup/plugin-json": "^4.0.3",
|
|
"@rollup/plugin-node-resolve": "^7.1.3",
|
|
"@rollup/plugin-replace": "^2.3.2",
|
|
"@testing-library/jest-dom": "^5.9.0",
|
|
"babel-jest": "^26.0.1",
|
|
"blob-util": "^2.0.2",
|
|
"emojibase-data": "^5.0.1",
|
|
"fake-indexeddb": "^3.0.1",
|
|
"fast-json-stable-stringify": "^2.1.0",
|
|
"fetch-mock-jest": "^1.3.0",
|
|
"focus-visible": "^5.1.0",
|
|
"husky": "^4.2.5",
|
|
"if-emoji": "^0.1.0",
|
|
"jest": "^26.0.1",
|
|
"jest-transform-svelte": "^2.1.1",
|
|
"lint-staged": "^10.2.7",
|
|
"lodash-es": "^4.17.15",
|
|
"markdown-table": "^2.0.0",
|
|
"node-fetch": "^2.6.0",
|
|
"npm-run-all": "^4.1.5",
|
|
"rollup": "^2.8.2",
|
|
"rollup-plugin-svelte": "^5.2.1",
|
|
"rollup-plugin-svelte-hot": "^0.7.0",
|
|
"sass": "^1.26.7",
|
|
"standard": "^14.3.3",
|
|
"string.prototype.replaceall": "^1.0.3",
|
|
"stylelint": "^13.5.0",
|
|
"stylelint-config-recommended-scss": "^4.2.0",
|
|
"stylelint-scss": "^3.17.2",
|
|
"svelte": "^3.22.2",
|
|
"svelte-preprocess": "^3.7.4",
|
|
"typedoc": "^0.17.7",
|
|
"typedoc-plugin-markdown": "^2.3.1",
|
|
"typescript": "^3.9.5"
|
|
},
|
|
"standard": {
|
|
"ignore": [
|
|
"/database.js",
|
|
"/index.js",
|
|
"/picker.js"
|
|
],
|
|
"global": [
|
|
"btoa",
|
|
"crypto",
|
|
"CustomEvent",
|
|
"fetch",
|
|
"indexedDB",
|
|
"IDBKeyRange",
|
|
"matchMedia",
|
|
"performance",
|
|
"ResizeObserver",
|
|
"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'"
|
|
}
|
|
}
|