Skip to content

Commit

Permalink
chore: initial commit
Browse files Browse the repository at this point in the history
  • Loading branch information
MoKhajavi75 committed Mar 11, 2023
0 parents commit 6aaba1d
Show file tree
Hide file tree
Showing 12 changed files with 3,509 additions and 0 deletions.
3 changes: 3 additions & 0 deletions .commitlintrc.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
{
"extends": ["@commitlint/config-conventional"]
}
4 changes: 4 additions & 0 deletions .eslintignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
.DS_Store
node_modules
lib
pnpm-lock.yaml
10 changes: 10 additions & 0 deletions .eslintrc.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
{
"parser": "@typescript-eslint/parser",
"plugins": ["@typescript-eslint"],
"extends": ["eslint:recommended", "plugin:@typescript-eslint/recommended"],
"rules": {
"no-console": "error",
"@typescript-eslint/explicit-function-return-type": "error",
"@typescript-eslint/no-namespace": "off"
}
}
2 changes: 2 additions & 0 deletions .gitattributes
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
# Auto detect text files and perform LF normalization
* text=auto eol=lf
26 changes: 26 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
.DS_Store

# Logs
*.log

# Dependency directories
node_modules/

# TypeScript v1 declaration files
typings/

# TypeScript cache
*.tsbuildinfo

# Optional npm cache directory
.npm

# Optional eslint cache
.eslintcache

# IDEs
.vscode/*
.idea/*

# Build
/lib
4 changes: 4 additions & 0 deletions .husky/commit-msg
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
#!/usr/bin/env sh
. "$(dirname -- "$0")/_/husky.sh"

pnpm exec commitlint --edit "$1"
4 changes: 4 additions & 0 deletions .husky/pre-commit
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
#!/usr/bin/env sh
. "$(dirname -- "$0")/_/husky.sh"

pnpm run-p ts-check lint prettier
4 changes: 4 additions & 0 deletions .prettierignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
.DS_Store
node_modules
lib
pnpm-lock.yaml
20 changes: 20 additions & 0 deletions .prettierrc.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
{
"arrowParens": "avoid",
"bracketSameLine": false,
"bracketSpacing": true,
"endOfLine": "lf",
"htmlWhitespaceSensitivity": "css",
"insertPragma": false,
"jsxSingleQuote": true,
"printWidth": 100,
"proseWrap": "preserve",
"quoteProps": "consistent",
"requirePragma": false,
"semi": true,
"singleAttributePerLine": true,
"singleQuote": true,
"tabWidth": 2,
"trailingComma": "none",
"useTabs": false,
"vueIndentScriptAndStyle": false
}
51 changes: 51 additions & 0 deletions package.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,51 @@
{
"name": "cypress-plugin-multiple-click",
"description": "Click multiple times in Cypress",
"author": "MohamadKh75",
"license": "MIT",
"version": "0.0.0",
"main": "lib/index.js",
"files": [
"lib"
],
"typings": "lib/index.d.ts",
"scripts": {
"dev": "cypress open",
"clean": "rimraf lib",
"build": "tsc",
"lint": "eslint . --config .eslintrc.json --cache",
"ts-check": "tsc --noEmit",
"prettier": "prettier -c . --config .prettierrc.json",
"format": "prettier -w . --config .prettierrc.json",
"prepare": "husky install"
},
"repository": {
"type": "git",
"url": "git@github.com:MohamadKh75/cypress-plugin-multiple-click.git"
},
"bugs": {
"url": "https://github.com/MohamadKh75/cypress-plugin-multiple-click/issues"
},
"devDependencies": {
"@commitlint/cli": "^17.4.4",
"@commitlint/config-conventional": "^17.4.4",
"@typescript-eslint/eslint-plugin": "^5.54.1",
"@typescript-eslint/parser": "^5.54.1",
"cypress": "^12.7.0",
"eslint": "^8.36.0",
"husky": "^8.0.3",
"npm-run-all": "^4.1.5",
"prettier": "^2.8.4",
"rimraf": "^4.4.0",
"typescript": "^4.9.5"
},
"peerDependencies": {
"cypress": ">=10"
},
"keywords": [
"cypress",
"cypress plugin",
"cypress click",
"multiple click"
]
}
Loading

0 comments on commit 6aaba1d

Please sign in to comment.