/
package.json
59 lines (59 loc) · 1.95 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
{
"name": "gatsby-link",
"description": "An enhanced Link component for Gatsby sites with support for resource prefetching",
"version": "4.23.0",
"author": "Kyle Mathews <mathews.kyle@gmail.com>",
"bugs": {
"url": "https://github.com/gatsbyjs/gatsby/issues"
},
"main": "dist/index.js",
"module": "dist/index.modern.mjs",
"types": "index.d.ts",
"files": [
"dist/*",
"index.d.ts"
],
"sideEffects": false,
"scripts": {
"build": "npm-run-all --npm-path npm -s build:cjs build:esm",
"postbuild": "prepend-directive --files=dist/index.js,dist/index.modern.mjs --directive=\"client export\"",
"build:cjs": "microbundle -f cjs --jsx React.createElement --generateTypes false -i src/index-cjs.js -o dist/index.js",
"build:esm": "microbundle -f modern --jsx React.createElement --generateTypes false -o dist/index.mjs",
"watch": "npm-run-all --npm-path npm -p watch:cjs watch:esm",
"watch:cjs": "npm run build:cjs watch --no-compress",
"watch:esm": "npm run build:esm watch --no-compress",
"prepare": "cross-env NODE_ENV=production npm run clean && npm run build",
"clean": "del-cli dist/*"
},
"dependencies": {
"@types/reach__router": "^1.3.10",
"gatsby-page-utils": "^2.23.0",
"prop-types": "^15.8.1"
},
"devDependencies": {
"@testing-library/react": "^11.2.7",
"cross-env": "^7.0.3",
"del-cli": "^5.0.0",
"microbundle": "^0.15.1",
"npm-run-all": "^4.1.5",
"prepend-directive": "^1.0.3"
},
"peerDependencies": {
"@gatsbyjs/reach-router": "^1.3.5",
"react": "^16.9.0 || ^17.0.0 || ^18.0.0",
"react-dom": "^16.9.0 || ^17.0.0 || ^18.0.0"
},
"homepage": "https://github.com/gatsbyjs/gatsby/tree/master/packages/gatsby-link#readme",
"keywords": [
"gatsby"
],
"license": "MIT",
"repository": {
"type": "git",
"url": "https://github.com/gatsbyjs/gatsby.git",
"directory": "packages/gatsby-link"
},
"engines": {
"node": ">=14.15.0"
}
}