-
Notifications
You must be signed in to change notification settings - Fork 10.3k
/
package.json
95 lines (95 loc) · 3.42 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
89
90
91
92
93
94
95
{
"name": "gatsby-plugin-image",
"version": "1.13.0-next.1",
"scripts": {
"build": "npm-run-all -s clean -p build:*",
"build:gatsby-node": "tsc --jsx react --downlevelIteration true --skipLibCheck true --esModuleInterop true --outDir dist/ src/gatsby-node.ts src/babel-plugin-parse-static-images.ts src/resolver-utils.ts src/types.d.ts -d --declarationDir dist/src",
"build:gatsby-ssr": "microbundle -i src/gatsby-ssr.tsx -f cjs -o ./[name].js --no-pkg-main --jsx React.createElement --no-compress --external=common-tags,react --no-sourcemap",
"build:server": "microbundle -f cjs,es --jsx React.createElement --define SERVER=true",
"build:browser": "microbundle -i src/index.browser.ts -f cjs,modern,es --jsx React.createElement -o dist/gatsby-image.browser --define SERVER=false",
"prepare": "yarn build",
"watch": "run-p watch:*",
"watch:gatsby-node": "yarn build:gatsby-node --watch",
"watch:gatsby-ssr": "yarn build:gatsby-ssr watch",
"watch:server": "yarn build:server --no-compress watch",
"watch:browser": "yarn build:browser --no-compress watch",
"test": "jest",
"test:watch": "jest --watch",
"clean": "del-cli dist/*"
},
"sideEffects": false,
"keywords": [
"gatsby",
"gatsby-plugin"
],
"main": "dist/gatsby-image.js",
"module": "dist/gatsby-image.module.js",
"esmodule": "dist/gatsby-image.modern.js",
"browser": {
"./dist/gatsby-image.js": "./dist/gatsby-image.browser.js",
"./dist/gatsby-image.module.js": "./dist/gatsby-image.browser.module.js",
"./dist/gatsby-image.modern.js": "./dist/gatsby-image.browser.modern.js"
},
"files": [
"dist/*",
"gatsby-node.js",
"gatsby-ssr.js",
"gatsby-browser.js",
"graphql-utils.js",
"graphql-utils.d.ts"
],
"types": "dist/src/index.d.ts",
"homepage": "https://github.com/gatsbyjs/gatsby/tree/master/packages/gatsby-plugin-image#readme",
"devDependencies": {
"@babel/cli": "^7.14.8",
"@babel/core": "^7.14.8",
"@testing-library/react": "^11.2.7",
"@types/babel__core": "^7.1.12",
"@types/babel__traverse": "^7.11.1",
"@types/fs-extra": "^8.1.2",
"@types/node": "^14.10.2",
"@types/prop-types": "^15.7.3",
"@types/react": "^16.9.56",
"@types/react-dom": "^16.9.8",
"ast-pretty-print": "^2.0.1",
"babel-plugin-macros": "^2.8.0",
"cross-env": "^7.0.3",
"cssnano": "^4.1.10",
"del-cli": "^3.0.1",
"do-sync": "^3.0.11",
"microbundle": "^0.13.0",
"npm-run-all": "^4.1.5",
"postcss": "^8.2.9",
"terser": "^5.3.8",
"typescript": "^4.3.5"
},
"peerDependencies": {
"@babel/core": "^7.12.3",
"gatsby": "^3.0.0-next.0",
"gatsby-plugin-sharp": "^3.0.0-next.0",
"gatsby-source-filesystem": "^3.0.0-next.0",
"react": "^16.9.0 || ^17.0.0",
"react-dom": "^16.9.0 || ^17.0.0"
},
"dependencies": {
"@babel/code-frame": "^7.14.0",
"@babel/parser": "^7.14.9",
"@babel/traverse": "^7.14.9",
"babel-jsx-utils": "^1.1.0",
"babel-plugin-remove-graphql-queries": "^3.13.0-next.0",
"camelcase": "^5.3.1",
"chokidar": "^3.5.1",
"common-tags": "^1.8.0",
"fs-extra": "^8.1.0",
"gatsby-core-utils": "^2.13.0-next.0",
"objectFitPolyfill": "^2.3.0",
"prop-types": "^15.7.2"
},
"repository": {
"type": "git",
"url": "https://github.com/gatsbyjs/gatsby.git",
"directory": "packages/gatsby-plugin-image"
},
"author": "Matt Kane <matt@gatsbyjs.com>",
"license": "MIT"
}