-
Notifications
You must be signed in to change notification settings - Fork 9
/
package.json
91 lines (91 loc) · 3.34 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
{
"name": "react-responsive-picture",
"version": "3.2.2",
"description": "A future-proof responsive image component that supports latest Picture specification",
"main": "lib/index.js",
"module": "es/index.js",
"types": "lib/index.d.ts",
"scripts": {
"build": "run-p build:commonjs build:es build:umd build:umd:min build:ts build:ts-es",
"build:es": "babel src -d es --extensions .ts,.tsx",
"build:commonjs": "cross-env BABEL_ENV=commonjs babel src -d lib --extensions .ts,.tsx",
"build:umd": "cross-env NODE_ENV=development webpack src/index.ts -o dist/react-responsive-picture.js",
"build:umd:min": "cross-env NODE_ENV=production webpack src/index.ts -o dist/react-responsive-picture.min.js",
"build:ts": "tsc",
"build:ts-es": "tsc -m es6 --outDir es",
"clean": "rimraf lib dist es",
"start": "parcel examples/index.html -d examples/dist --cache-dir examples/cache --open",
"dev": "yarn run clean && cross-env BABEL_ENV=commonjs babel src -d lib --watch --extensions .ts,.tsx",
"lint": "eslint src/ --ext .js,.ts,.tsx",
"prepack": "yarn run clean && yarn run build",
"test": "echo \"No tests available\" && exit 0",
"ts:check": "tsc -p tsconfig.json --allowJs false --noEmit --emitDeclarationOnly false"
},
"repository": {
"type": "git",
"url": "git+https://github.com/braposo/react-responsive-picture.git"
},
"files": [
"es",
"dist",
"lib",
"src"
],
"keywords": [
"image",
"picture",
"responsive",
"react"
],
"author": {
"name": "Bernardo Raposo",
"email": "[email protected]",
"url": "http://bernardoraposo.com"
},
"license": "MIT",
"bugs": {
"url": "https://github.com/braposo/react-responsive-picture/issues"
},
"homepage": "https://github.com/braposo/react-responsive-picture#readme",
"devDependencies": {
"@babel/cli": "^7.6.0",
"@babel/core": "^7.6.0",
"@babel/plugin-proposal-object-rest-spread": "^7.5.5",
"@babel/plugin-transform-modules-commonjs": "^7.6.0",
"@babel/preset-env": "^7.6.0",
"@babel/preset-react": "^7.0.0",
"@babel/preset-typescript": "^7.6.0",
"@types/node": "^12.7.5",
"@types/react": "^16.9.2",
"@typescript-eslint/eslint-plugin": "^2.2.0",
"@typescript-eslint/parser": "^2.2.0",
"babel-eslint": "^10.0.3",
"babel-loader": "^8.0.6",
"cross-env": "^5.2.1",
"eslint": "^6.3.0",
"eslint-config-airbnb-base": "^14.0.0",
"eslint-config-prettier": "^6.3.0",
"eslint-plugin-import": "^2.18.2",
"eslint-plugin-prettier": "^3.1.0",
"eslint-plugin-react": "^7.14.3",
"npm-run-all": "^4.1.5",
"parcel-bundler": "^1.12.3",
"prettier": "^1.18.2",
"react": "^16.9.0",
"react-dom": "^16.9.0",
"rimraf": "^3.0.0",
"source-map-loader": "^0.2.4",
"typescript": "^3.6.3",
"webpack": "^4.39.3",
"webpack-cli": "^3.3.8"
},
"peerDependencies": {
"react": "^15.0.1 || ^16.0.1",
"react-dom": "^15.0.1 || ^16.0.1"
},
"dependencies": {
"can-use-dom": "0.1.0",
"cxs": "6.2.0",
"picturefill": "3.0.3"
}
}