forked from robbestad/react-iframe
-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathpackage.json
108 lines (108 loc) · 3.05 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
{
"name": "react-iframe",
"version": "1.8.0",
"description": "Easy peasy lemon squeezy iframes with react",
"main": "dist/cjs/iframe.js",
"module": "dist/es/iframe.js",
"types": "iframe.d.ts",
"peerDependencies": {
"react": ">=16.x.x"
},
"dependencies": {
"object-assign": "^4.1.1"
},
"devDependencies": {
"@types/jest": "^24.0.11",
"@types/object-assign": "^4.0.30",
"babel-cli": "6.26.0",
"babel-core": "^6.26.3",
"babel-eslint": "8.0.2",
"babel-plugin-react-constant-elements": "^1.0.3",
"babel-plugin-transform-class-properties": "^6.24.1",
"babel-plugin-transform-decorators": "^6.24.1",
"babel-plugin-transform-react-constant-elements": "^6.23.0",
"babel-plugin-transform-react-inline-elements": "^6.22.0",
"babel-polyfill": "^6.26.0",
"babel-preset-env": "^1.7.0",
"babel-preset-es2015": "6.24.1",
"babel-preset-react": "^6.24.1",
"chai": "^4.2.0",
"cross-env": "5.2.0",
"csstype": "^2.6.3",
"enzyme": "^3.9.0",
"enzyme-adapter-react-16": "^1.9.1",
"eslint": "5.16.0",
"eslint-config-acando": "1.3.7",
"eslint-config-prettier": "^4.1.0",
"eslint-plugin-react": "7.12.4",
"husky": "^1.3.1",
"jest": "^24.7.1",
"lint-staged": "^8.1.5",
"mocha": "^4.0.1",
"prettier": "^1.16.4",
"react": "^16.8.6",
"react-dom": "^16.8.6",
"react-hooks-testing-library": "^0.4.0",
"react-test-renderer": "^16.8.6",
"react-testing-library": "^6.1.2",
"rimraf": "^2.6.3",
"standard-version": "^5.0.2",
"ts-jest": "^24.0.2",
"ts-node": "^8.0.3",
"tslint": "^5.15.0",
"typescript": "^3.4.3",
"uglify-js": "^3.5.4"
},
"lint-staged": {
"*.js": [
"prettier --semi false --single-quote false --write",
"git add"
]
},
"repository": {
"type": "git",
"url": "[email protected]:svenanders/react-iframe.git"
},
"homepage": "https://github.com/svenanders/react-iframe",
"keywords": [
"react",
"react-component",
"iframe"
],
"author": {
"name": "Sven Anders Robbestad",
"email": "[email protected]",
"url": "https://www.robbestad.com"
},
"scripts": {
"ts:cjs": "yarn tsc -p ts/cjs.tsconfig.json",
"ts:es": "yarn tsc -p ts/es.tsconfig.json",
"prets:typedefs": "rimraf __tests__",
"ts:typedefs": "yarn tsc -p ts/types.tsconfig.json && mv defs/* . && rmdir defs",
"ts:all": "yarn ts:cjs && yarn ts:es && yarn ts:typedefs && cp src/types.d.ts .",
"test": "jest -c ./jest.config.json src/__tests__/*.tsx",
"lint": "eslint index.js --config .eslintrc.json",
"release": "standard-version",
"precommit": "lint-staged"
},
"license": "ISC",
"jest": {
"preset": "ts-jest",
"verbose": true,
"modulePathIgnorePatterns": [
"target"
],
"collectCoverageFrom": [
"src/**/*.{tsx,ts}",
"!<rootDir>/node_modules/",
"!<rootDir>/dist/",
"!<rootDir>/target/"
],
"testMatch": [
"src/__tests__/*.tsx"
],
"transform": {
"^.+\\.tsx?$": "<rootDir>/test_setup/ts-preprocessor.js"
}
}
}