package.json
{
"name": "chromite",
"version": "0.1.8",
"description": "Chrome Extension Message-Routing toolkit",
"main": "lib/index.js",
"types": "lib/index.d.ts",
"scripts": {
"clean": "rm -rf lib tests/e2e/app/dist",
"build": "tsc --declaration --outDir lib ./src/index.ts",
"build:e2e": "tsc --outDir tests/e2e/app/dist ./tests/e2e/app/src/*.ts",
"test": "jest --config tests/spec/jest.config.ts",
"test:e2e": "npm run build:e2e && jest --config tests/e2e/jest.config.ts",
"lint": "eslint src/*.ts tests/**/*.{ts,js}"
},
"repository": {
"type": "git",
"url": "git+https://github.com/otiai10/chromite.git"
},
"keywords": [
"Chrome",
"Extension",
"runtime",
"sendMessage",
"routing"
],
"author": "otiai10",
"license": "MIT",
"bugs": {
"url": "https://github.com/otiai10/chromite/issues"
},
"homepage": "https://github.com/otiai10/chromite#readme",
"devDependencies": {
"@types/chrome": "^0.0.233",
"@types/jest": "^27.4.1",
"@typescript-eslint/eslint-plugin": "^5.52.0",
"eslint": "^8.0.1",
"eslint-config-standard-with-typescript": "^37.0.0",
"eslint-plugin-import": "^2.25.2",
"eslint-plugin-n": "^15.0.0 || ^16.0.0 ",
"eslint-plugin-promise": "^6.0.0",
"jest": "^27.0.0",
"jest-chrome": "^0.8.0",
"jest-puppeteer": "^8.0.6",
"puppeteer": "^19.9.1",
"ts-jest": "^27.0.0",
"ts-node": "^10.9.1",
"typescript": "^4.6.2"
},
"targets": {
"default": {
"source": "src/index.ts",
"distDir": "lib"
},
"e2e": {
"source": [
"tests/e2e/app/src/background.ts",
"tests/e2e/app/src/content.ts"
],
"distDir": "tests/e2e/app/dist",
"optimize": false,
"sourceMap": false
}
}
}