50 строки
1.3 KiB
JSON
50 строки
1.3 KiB
JSON
{
|
|
"name": "@github/quote-selection",
|
|
"description": "Add selected text to a text area as a markdown quote.",
|
|
"version": "0.9.1",
|
|
"main": "dist/umd/index.js",
|
|
"module": "dist/index.js",
|
|
"types": "dist/index.d.ts",
|
|
"license": "MIT",
|
|
"repository": "github/quote-selection",
|
|
"files": [
|
|
"dist"
|
|
],
|
|
"scripts": {
|
|
"clean": "rm -rf dist",
|
|
"lint": "eslint src/*.ts test/*.js",
|
|
"prebuild": "npm run clean && npm run lint",
|
|
"build": "tsc && rollup -c",
|
|
"pretest": "npm run build",
|
|
"test": "karma start karma.config.js",
|
|
"prepublishOnly": "npm run build",
|
|
"postpublish": "npm publish --ignore-scripts --@github:registry='https://npm.pkg.github.com'"
|
|
},
|
|
"prettier": "@github/prettier-config",
|
|
"eslintConfig": {
|
|
"parser": "@typescript-eslint/parser",
|
|
"extends": [
|
|
"plugin:github/browser",
|
|
"plugin:github/es6",
|
|
"plugin:github/typescript"
|
|
]
|
|
},
|
|
"devDependencies": {
|
|
"@github/prettier-config": "0.0.4",
|
|
"chai": "^4.2.0",
|
|
"eslint": "^6.8.0",
|
|
"eslint-plugin-github": "^3.4.1",
|
|
"karma": "^5.0.1",
|
|
"karma-chai": "^0.1.0",
|
|
"karma-chrome-launcher": "^3.1.0",
|
|
"karma-mocha": "^1.3.0",
|
|
"karma-mocha-reporter": "^2.2.5",
|
|
"mocha": "^7.1.1",
|
|
"rollup": "^2.4.0",
|
|
"typescript": "^4.4.4"
|
|
},
|
|
"eslintIgnore": [
|
|
"dist/"
|
|
]
|
|
}
|