This repository has been archived by the owner on Jun 2, 2023. It is now read-only.
generated from LukasPolak/create-typescript-library
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
88 lines (88 loc) · 2.5 KB
/
package.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
{
"name": "@lukaspolak/react-get-data-cy",
"version": "0.0.3",
"description": "Helper function provides a `data-cy` testing attribute with a value that can match the text content of the react element.",
"keywords": [
"cypress",
"cy",
"data",
"data-attribute",
"react",
"testing"
],
"repository": "[email protected]:lukaspolak/react-get-data-cy.git",
"license": "MIT",
"author": "Lukas Polak <[email protected]> (https://lukaspolak.com/)",
"main": "lib/umd/index.js",
"module": "lib/esm/index.js",
"types": "lib/index.d.ts",
"files": [
"lib",
"README.md"
],
"scripts": {
"build": "yarn lint && yarn clean && rollup -c rollup.config.ts",
"clean": "rimraf ./lib",
"commit": "cz",
"format": "prettier --write .",
"hygen:file": "hygen file new",
"lint": "eslint './{src,test}/**/*.{ts,tsx}'",
"prepublishOnly": "yarn build && yarn test",
"start": "rollup -c rollup.config.ts -w",
"test": "jest",
"test:coverage": "jest --collectCoverage",
"test:silent": "jest --silent",
"test:watch": "jest --watch",
"preversion": "yarn build && yarn test",
"version": "yarn run format && git add -A src",
"postversion": "git push && git push --tags"
},
"husky": {
"hooks": {
"pre-commit": "lint-staged"
},
"pre-push": "yarn build && yarn test:silent"
},
"lint-staged": {
"*.ts": [
"eslint",
"prettier"
]
},
"prettier": "@lukaspolak/prettier-config",
"dependencies": {
"@lukaspolak/kebab-case": "^0.0.1",
"@lukaspolak/react-get-inner-text": "^0.0.1"
},
"devDependencies": {
"@lukaspolak/prettier-config": "^0.0.3",
"@rollup/plugin-commonjs": "^17.1.0",
"@rollup/plugin-json": "^4.1.0",
"@rollup/plugin-node-resolve": "^11.1.1",
"@types/jest": "^26.0.20",
"@types/react": "^17.0.1",
"@typescript-eslint/eslint-plugin": "^4.14.2",
"@typescript-eslint/parser": "^4.14.2",
"commitizen": "^4.2.3",
"eslint": "^7.19.0",
"eslint-config-prettier": "^7.2.0",
"eslint-plugin-jest": "^24.1.3",
"eslint-plugin-prettier": "^3.3.1",
"husky": "^4.3.8",
"hygen": "^6.0.4",
"jest": "^26.6.3",
"lint-staged": "^10.5.3",
"prettier": "^2.2.1",
"prettier-plugin-packagejson": "^2.2.9",
"react": "^17.0.1",
"rimraf": "^3.0.2",
"rollup": "^2.38.4",
"rollup-plugin-typescript2": "^0.29.0",
"ts-jest": "^26.5.0",
"ts-node": "^9.1.1",
"typescript": "^4.1.3"
},
"peerDependencies": {
"react": "^17.0.1"
}
}