forked from dfrankland/react-amphtml
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
126 lines (126 loc) · 2.8 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
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
{
"name": "react-amphtml",
"version": "2.2.2",
"description": "Use amphtml components inside your React apps easily!",
"main": "./dist/index.js",
"files": [
"dist/index.js"
],
"scripts": {
"prebuild": "rimraf ./dist",
"build": "rollup -c ./rollup.config.js",
"prepublishOnly": "npm run build",
"lint": "eslint -c ./package.json ./src",
"test": "jest"
},
"keywords": [
"react",
"amphtml"
],
"repository": {
"type": "git",
"url": "https://github.com/dfrankland/react-amphtml.git"
},
"author": "Dylan Frankland",
"license": "MIT",
"devDependencies": {
"amp-html": "github:ampproject/amphtml",
"amphtml-validator": "^1.0.20",
"babel-core": "^6.26.0",
"babel-eslint": "^8.0.1",
"babel-jest": "^21.2.0",
"babel-plugin-external-helpers": "^6.22.0",
"babel-plugin-istanbul": "^4.1.5",
"babel-plugin-preval": "^1.6.0",
"babel-preset-env": "^1.6.1",
"babel-preset-react": "^6.24.1",
"babel-preset-stage-0": "^6.24.1",
"enzyme": "^3.1.0",
"enzyme-adapter-react-16": "^1.0.2",
"eslint": "^4.9.0",
"eslint-config-airbnb": "^16.1.0",
"eslint-plugin-import": "^2.8.0",
"eslint-plugin-jest": "^21.2.0",
"eslint-plugin-jsx-a11y": "^6.0.2",
"eslint-plugin-react": "^7.4.0",
"jest": "^21.2.1",
"node-fetch": "^1.7.3",
"react": "^16.0.0",
"react-dom": "^16.0.0",
"react-test-renderer": "^16.0.0",
"rollup": "^0.50.0",
"rollup-plugin-babel": "^3.0.2",
"rollup-plugin-node-resolve": "^3.0.0"
},
"dependencies": {
"glob": "^7.1.2",
"prop-types": "^15.6.0"
},
"peerDependencies": {
"react": "^15.0.0 || ^16.0.0",
"react-dom": "^15.0.0 || ^16.0.0"
},
"babel": {
"presets": [
[
"env",
{
"targets": {
"node": "6",
"browsers": [
"last 2 versions",
"> 1%"
]
}
}
],
"stage-0",
"react"
],
"plugins": [
"istanbul",
"preval"
]
},
"eslintConfig": {
"parser": "babel-eslint",
"extends": "airbnb",
"env": {
"browser": true,
"jest/globals": true
},
"rules": {
"react/jsx-filename-extension": "off",
"import/no-extraneous-dependencies": [
"error",
{
"devDependencies": [
"rollup.config.js",
"**/__tests__/**/*"
]
}
]
},
"plugins": [
"jest"
]
},
"jest": {
"setupTestFrameworkScriptFile": "./setupTest.js",
"roots": [
"<rootDir>/src/"
],
"collectCoverage": true,
"collectCoverageFrom": [
"./src/**/*"
],
"coverageThreshold": {
"global": {
"branches": 50,
"functions": 50,
"lines": 50,
"statements": 50
}
}
}
}