[d565449] | 1 | {
|
---|
| 2 | "name": "@xobotyi/scrollbar-width",
|
---|
| 3 | "version": "1.9.5",
|
---|
| 4 | "publishConfig": {
|
---|
| 5 | "access": "public"
|
---|
| 6 | },
|
---|
| 7 | "description": "A tool to get browser's scrollbars width.",
|
---|
| 8 | "keywords": [
|
---|
| 9 | "scrollbar",
|
---|
| 10 | "width",
|
---|
| 11 | "native",
|
---|
| 12 | "browser",
|
---|
| 13 | "detect",
|
---|
| 14 | "scrollbar-width"
|
---|
| 15 | ],
|
---|
| 16 | "repository": {
|
---|
| 17 | "type": "git",
|
---|
| 18 | "url": "https://github.com/xobotyi/scrollbar-width.git"
|
---|
| 19 | },
|
---|
| 20 | "bugs": {
|
---|
| 21 | "url": "https://github.com/xobotyi/scrollbar-width/issues"
|
---|
| 22 | },
|
---|
| 23 | "homepage": "https://github.com/xobotyi/scrollbar-width",
|
---|
| 24 | "author": {
|
---|
| 25 | "name": "Anton Zinovyev",
|
---|
| 26 | "url": "https://github.com/xobotyi",
|
---|
| 27 | "email": "xog3@yandex.ru"
|
---|
| 28 | },
|
---|
| 29 | "license": "MIT",
|
---|
| 30 | "files": [
|
---|
| 31 | "dist"
|
---|
| 32 | ],
|
---|
| 33 | "main": "dist/index.js",
|
---|
| 34 | "module": "dist/index.esm.js",
|
---|
| 35 | "esnext": "dist/index.esnext.js",
|
---|
| 36 | "types": "dist/index.d.ts",
|
---|
| 37 | "sideEffects": false,
|
---|
| 38 | "devDependencies": {
|
---|
| 39 | "@semantic-release/changelog": "^5.0.0",
|
---|
| 40 | "@semantic-release/git": "^9.0.0",
|
---|
| 41 | "@semantic-release/npm": "^7.0.3",
|
---|
| 42 | "@types/jasmine": "^3.5.1",
|
---|
| 43 | "@xobotyi/eslint-config": "^1.0.6",
|
---|
| 44 | "@xobotyi/preset-typescript": "^1.0.0",
|
---|
| 45 | "codacy-coverage": "^3.4.0",
|
---|
| 46 | "eslint": "^6.8.0",
|
---|
| 47 | "husky": "^4.2.1",
|
---|
| 48 | "jasmine": "^3.5.0",
|
---|
| 49 | "karma": "^4.4.1",
|
---|
| 50 | "karma-chrome-launcher": "^3.1.0",
|
---|
| 51 | "karma-firefox-launcher": "^1.3.0",
|
---|
| 52 | "karma-jasmine": "^3.1.0",
|
---|
| 53 | "karma-typescript": "^5.0.0",
|
---|
| 54 | "lint-staged": "^10.0.2",
|
---|
| 55 | "prettier": "^2.0.2",
|
---|
| 56 | "rimraf": "^3.0.0",
|
---|
| 57 | "rollup": "^2.0.2",
|
---|
| 58 | "rollup-plugin-terser": "^5.2.0",
|
---|
| 59 | "rollup-plugin-typescript2": "^0.26.0",
|
---|
| 60 | "semantic-release": "^17.0.3",
|
---|
| 61 | "typescript": "^3.7.5"
|
---|
| 62 | },
|
---|
| 63 | "scripts": {
|
---|
| 64 | "lint": "eslint ./{src,tests}/**/*.ts ./*.{ts,js}",
|
---|
| 65 | "lint:fix": "yarn lint --fix",
|
---|
| 66 | "lint:types": "tsc --noEmit",
|
---|
| 67 | "test": "karma start",
|
---|
| 68 | "build": "rimraf dist && rollup --config",
|
---|
| 69 | "semantic-release": "semantic-release"
|
---|
| 70 | },
|
---|
| 71 | "lint-staged": {
|
---|
| 72 | "./{src,tests}/**/*.ts": [
|
---|
| 73 | "yarn lint:fix"
|
---|
| 74 | ],
|
---|
| 75 | "./*.{ts,js}": [
|
---|
| 76 | "yarn lint:fix"
|
---|
| 77 | ]
|
---|
| 78 | },
|
---|
| 79 | "husky": {
|
---|
| 80 | "hooks": {
|
---|
| 81 | "pre-commit": "yarn lint:types && lint-staged",
|
---|
| 82 | "pre-push": "yarn lint:fix && rimraf dist && yarn build && yarn test"
|
---|
| 83 | }
|
---|
| 84 | },
|
---|
| 85 | "release": {
|
---|
| 86 | "branches": [
|
---|
| 87 | "master",
|
---|
| 88 | {
|
---|
| 89 | "name": "next",
|
---|
| 90 | "prerelease": "rc"
|
---|
| 91 | }
|
---|
| 92 | ],
|
---|
| 93 | "verifyConditions": [
|
---|
| 94 | "@semantic-release/changelog",
|
---|
| 95 | "@semantic-release/npm",
|
---|
| 96 | "@semantic-release/git",
|
---|
| 97 | "@semantic-release/github"
|
---|
| 98 | ],
|
---|
| 99 | "prepare": [
|
---|
| 100 | "@semantic-release/changelog",
|
---|
| 101 | "@semantic-release/npm",
|
---|
| 102 | "@semantic-release/git"
|
---|
| 103 | ]
|
---|
| 104 | }
|
---|
| 105 | }
|
---|