session-resume/package.json

52 строки
1.4 KiB
JSON

{
"name": "@github/session-resume",
"version": "0.1.0",
"description": "Annotate fields to be persisted on navigation away from the current page.",
"main": "dist/umd/index.js",
"module": "dist/index.js",
"types": "dist/index.d.ts",
"repository": "github/session-resume",
"scripts": {
"clean": "rm -rf dist",
"lint": "eslint src/*.ts test/*.js",
"prebuild": "npm run clean",
"build": "tsc && tsc -m umd --outDir dist/umd",
"pretest": "npm run build && npm run lint",
"test": "karma start karma.config.js",
"prepublishOnly": "npm run build",
"postpublish": "npm publish --ignore-scripts --@github:registry='https://npm.pkg.github.com'"
},
"files": [
"dist"
],
"keywords": [],
"license": "MIT",
"prettier": "@github/prettier-config",
"eslintConfig": {
"root": true,
"parser": "@typescript-eslint/parser",
"extends": [
"plugin:github/browser",
"plugin:github/recommended",
"plugin:github/typescript"
]
},
"devDependencies": {
"@github/prettier-config": "0.0.4",
"chai": "^4.3.4",
"chromium": "^3.0.3",
"eslint": "^8.12.0",
"eslint-plugin-github": "^4.1.3",
"karma": "^6.3.2",
"karma-chai": "^0.1.0",
"karma-chrome-launcher": "^3.1.0",
"karma-mocha": "^2.0.1",
"karma-mocha-reporter": "^2.2.5",
"mocha": "^9.2.2",
"typescript": "^4.2.4"
},
"eslintIgnore": [
"dist/"
]
}