-
Notifications
You must be signed in to change notification settings - Fork 6
/
package.json
87 lines (87 loc) · 2.44 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
{
"name": "react-scroll-into-view",
"version": "2.1.3",
"description": "Simple React element that when clicked scrolls to any element on page",
"type": "module",
"main": "./dist/index.mjs",
"exports": {
".": {
"import": {
"types": "./dist/index.d.mts",
"default": "./dist/index.mjs"
},
"require": {
"types": "./dist/index.d.cts",
"default": "./dist/index.cjs"
}
}
},
"files": [
"dist/"
],
"scripts": {
"build": "package-check && rollup --config rollup.config.ts --configPlugin typescript && npm run copy-types && npx publint",
"test": "jest",
"tsc": "tsc",
"prepare": "husky install",
"copy-types": "cp ./dist/index.d.ts ./dist/index.d.cts && cp ./dist/index.d.ts ./dist/index.d.mts"
},
"repository": {
"type": "git",
"url": "git+ssh://git@github.com/dominikbulaj/react-scroll-into-view.git"
},
"keywords": [
"react",
"scroll"
],
"author": "Dominik Bułaj <dominik@bulaj.com>",
"license": "MIT",
"bugs": {
"url": "https://github.com/dominikbulaj/react-scroll-into-view/issues"
},
"homepage": "https://github.com/dominikbulaj/react-scroll-into-view#readme",
"devDependencies": {
"@babel/cli": "^7.1.2",
"@babel/core": "^7.1.2",
"@babel/preset-env": "^7.1.0",
"@babel/preset-react": "^7.0.0",
"@commitlint/cli": "^18.4.3",
"@commitlint/config-conventional": "^18.4.3",
"@commitlint/types": "^18.4.3",
"@rollup/plugin-babel": "^5.3.0",
"@rollup/plugin-node-resolve": "^13.0.5",
"@rollup/plugin-typescript": "^8.3.4",
"@skypack/package-check": "^0.2.2",
"@testing-library/react": "12.1.5",
"@types/jest": "^29.5.3",
"@types/node": "^18.6.3",
"@types/react": "^18.0.15",
"@types/react-dom": "^18.0.6",
"@types/react-test-renderer": "^18.0.0",
"babel-jest": "^28.1.3",
"husky": "^8.0.0",
"jest": "^29.6.2",
"jest-environment-jsdom": "^28.1.3",
"react": "^16.5.2",
"react-dom": "^16.5.2",
"react-test-renderer": "^16.5.2",
"rollup": "^2.57.0",
"rollup-plugin-filesize": "^9.1.2",
"rollup-plugin-terser": "^7.0.2",
"ts-jest": "^29.1.1",
"ts-node": "^10.9.1",
"tslib": "^2.4.0",
"typescript": "^4.7.4"
},
"peerDependencies": {
"react": ">=16.5.2",
"react-dom": ">=16.5.2"
},
"prettier": {
"singleQuote": true,
"trailingComma": "none",
"tabWidth": 2,
"semi": false
},
"types": "./dist/index.d.ts"
}