-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
78 lines (78 loc) · 2.39 KB
/
Copy pathpackage.json
File metadata and controls
78 lines (78 loc) · 2.39 KB
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
{
"name": "react-reverse-number-input",
"version": "1.0.0-dev.2",
"description": "A formatted number input but the cursor is at the end of the input.",
"author": "perdomofranklindev",
"license": "MIT",
"repository": "perdomofranklindev/react-reverse-number-input",
"main": "dist/index.js",
"module": "dist/index.modern.js",
"source": "src/index.tsx",
"engines": {
"node": ">=16"
},
"scripts": {
"build": "microbundle-crl --no-compress --format modern,cjs",
"start": "microbundle-crl watch --no-compress --format modern,cjs",
"prepare": "run-s build && husky install",
"test": "run-s test:unit test:lint test:build && npm run test:jest --",
"test:build": "run-s build",
"test:lint": "eslint .",
"test:lint:fix": "eslint --fix .",
"test:unit": "cross-env CI=1 react-scripts test --verbose --env=jsdom",
"test:watch": "jest --watch --verbose",
"predeploy": "cd example && npm install && npm run build",
"deploy": "gh-pages -d example/build",
"test:jest": "jest src/**/* --verbose",
"test:coverage": "jest src/**/* --coverage"
},
"peerDependencies": {
"react": "^16.0.0"
},
"devDependencies": {
"@testing-library/jest-dom": "^4.2.4",
"@testing-library/react": "^9.5.0",
"@testing-library/user-event": "^7.2.1",
"@types/jest": "^25.1.4",
"@types/node": "^12.12.38",
"@types/react": "^18.2.25",
"@types/react-dom": "^18.2.10",
"@typescript-eslint/eslint-plugin": "^6.7.4",
"@typescript-eslint/parser": "^6.7.4",
"babel-jest": "^29.7.0",
"cross-env": "^7.0.2",
"eslint": "^8.50.0",
"eslint-config-prettier": "^9.0.0",
"eslint-config-react-app": "^7.0.1",
"eslint-config-standard-with-typescript": "^39.1.0",
"eslint-plugin-cypress": "^2.15.1",
"eslint-plugin-function-name": "^2.0.1",
"eslint-plugin-import": "^2.28.1",
"eslint-plugin-jest": "^27.4.2",
"eslint-plugin-jsx-a11y": "^6.7.1",
"eslint-plugin-n": "^16.1.0",
"eslint-plugin-promise": "^6.1.1",
"eslint-plugin-react": "^7.33.2",
"gh-pages": "^2.2.0",
"husky": "^8.0.3",
"jest": "^29.7.0",
"lint-staged": "^14.0.1",
"microbundle-crl": "^0.13.10",
"npm-run-all": "^4.1.5",
"prettier": "^2.0.4",
"react": "^18.2.0",
"react-dom": "^18.2.0",
"react-scripts": "^5.0.1",
"ts-jest": "^29.1.1",
"typescript": "^4.9.5"
},
"files": [
"dist"
],
"lint-staged": {
"*.{js,ts, tsx}": [
"prettier --write '**/*.{js.jsx,tsx,ts,css,scss,md,json,yml}'",
"npm run test:lint:fix"
]
}
}