-
Notifications
You must be signed in to change notification settings - Fork 1
/
package.json
90 lines (90 loc) · 2.3 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
{
"name": "react-remote-render",
"version": "0.1.1",
"main": "dist/index.js",
"types": "dist/index.d.ts",
"author": "Mariano Cortesi <[email protected]>",
"repository": {
"url": "https://github.com/mcortesi/react-remote-render.git"
},
"license": "MIT",
"scripts": {
"build": "tsc",
"precommit": "lint-staged",
"lint": "tslint --type-check -p . -t codeFrame 'src/**/*.ts'",
"test": "jest",
"test:watch": "jest --watch",
"test:prod": "yarn lint && yarn test --coverage --no-cache",
"prepublish": "yarn build",
"storybook": "start-storybook -p 9001 -c .storybook",
"deploy-storybook": "storybook-to-ghpages"
},
"lint-staged": {
"{src,test}/**/*.ts": [
"prettier -l"
]
},
"jest": {
"transform": {
".(ts|tsx)": "<rootDir>/node_modules/ts-jest/preprocessor.js"
},
"testRegex": "(/__tests__/.*|\\.(test|spec))\\.(ts|tsx|js)$",
"moduleFileExtensions": [
"ts",
"tsx",
"js"
],
"mapCoverage": true,
"coveragePathIgnorePatterns": [
"/node_modules/",
"/test/"
],
"coverageThreshold": {
"global": {
"branches": 90,
"functions": 95,
"lines": 95,
"statements": 95
}
}
},
"dependencies": {
"@types/invariant": "^2.2.29",
"invariant": "^2.2.2"
},
"peerDependencies": {
"react": "^15.6.1 || ^16.0.0"
},
"devDependencies": {
"@storybook/addon-options": "^3.2.6",
"@storybook/react": "^3.2.6",
"@storybook/storybook-deployer": "^2.0.0",
"@types/enzyme": "^2.8.7",
"@types/jest": "^20.0.8",
"@types/node": "^8.0.24",
"@types/react": "^16.0.4",
"enzyme": "^2.9.1",
"husky": "^0.14.3",
"jest": "^20.0.4",
"lint-staged": "^4.1.3",
"prettier": "^1.6.1",
"react": "^15.6.1",
"react-dom": "^15.6.1",
"react-test-renderer": "^15.6.1",
"rimraf": "^2.6.1",
"ts-jest": "^20.0.10",
"ts-loader": "^2.3.3",
"tsc-watch": "^1.0.8",
"tslint": "^5.7.0",
"tslint-config-prettier": "^1.5.0",
"tslint-config-standard": "^6.0.1",
"typescript": "^2.4.2",
"webpack": "^3.5.6",
"webpack-dev-server": "^2.7.1"
},
"storybook-deployer": {
"gitUsername": "Mariano Cortesi",
"gitEmail": "[email protected]",
"commitMessage": "Deploy Storybook [skip ci]"
}
}