hash-trigger
Version:
The URL Hash Trigger library
90 lines (89 loc) • 2.28 kB
JSON
{
"name": "hash-trigger",
"version": "0.2.0",
"description": "The URL Hash Trigger library",
"keywords": [
"mornya",
"vessel",
"hash",
"location.hash",
"window.location.hash",
"front-end"
],
"homepage": "https://github.com/mornya/hash-trigger",
"license": "MIT",
"author": "mornya <mornya78@gmail.com>",
"private": false,
"repository": "https://github.com/mornya/hash-trigger.git",
"bugs": "https://github.com/mornya/hash-trigger/issues",
"main": "./dist/index.js",
"types": "./dist",
"scripts": {
"setup": "husky && lintest install || exit 0",
"prepublishOnly": "vessel prepublish && vessel build",
"login": "vessel login",
"clean": "vessel clean",
"build": "vessel build",
"build:esm": "vessel build --esm",
"watch": "vessel build --watch",
"format": "prettier --write --ignore-path .prettierignore ./src ./types",
"check": "vessel check",
"init": "lintest uninstall && lintest export",
"lint": "lintest lint",
"lint:fix": "lintest lint --fix",
"test": "lintest test",
"test:watch": "lintest test --watch",
"test:coverage": "lintest test --coverage",
"sonar": "sonar-scanner"
},
"publishConfig": {
"registry": "https://registry.npmjs.org",
"access": "public"
},
"files": [
"dist",
"!dist/test",
"!dist/**/@setup.d.ts",
"!dist/**/@setup.js",
"!dist/**/*.test.d.ts",
"!dist/**/*.test.js",
"esm",
"!esm/test",
"!esm/**/@setup.d.ts",
"!esm/**/@setup.js",
"!esm/**/*.test.d.ts",
"!esm/**/*.test.js",
"CHANGELOG.md",
"LICENSE",
"README.md"
],
"engines": {
"node": ">=10",
"npm": ">=6"
},
"dependencies": {},
"devDependencies": {
"@lintest/core": "^1.16.0",
"@types/jest": "^29.5.12",
"@types/node": "^20.12.7",
"@types/webpack-env": "^1.18.4",
"eslint": "^8.57.0",
"husky": "^9.0.11",
"lint-staged": "^15.2.2",
"prettier": "^3.2.5",
"typescript": "^5.4.5"
},
"lint-staged": {
"*.{css,scss}": [
"prettier --write --ignore-path .prettierignore"
],
"*.{ts,tsx}": [
"prettier --write --ignore-path .prettierignore",
"npm run check",
"npm run lint"
]
},
"vessel": {
"minVersion": "5.3.0"
}
}