This repository was archived by the owner on Aug 20, 2019. It is now read-only.
File tree 4 files changed +150
-4817
lines changed
4 files changed +150
-4817
lines changed Original file line number Diff line number Diff line change 1
1
node_modules
2
2
coverage
3
+ build
4
+ __integration-test__
5
+ .log
Original file line number Diff line number Diff line change 4
4
"description" : " High Order Component for React SSR" ,
5
5
"main" : " index.js" ,
6
6
"author" :
" Luchanskiy Oleg <[email protected] >" ,
7
+ "repository" : " https://github.com/Luchanso/react-has-mounted" ,
7
8
"license" : " MIT" ,
8
9
"private" : false ,
9
10
"scripts" : {
10
11
"test" : " jest" ,
12
+ "build" : " babel src -d build --ignore \" src/__test__/**/*\" && cp package.json build/package.json" ,
13
+ "pub" : " cd build && npm publish" ,
11
14
"test-coverage" : " jest --coverage --coverageReporters=text-lcov | coveralls"
12
15
},
13
16
"devDependencies" : {
17
+ "@babel/cli" : " ^7.2.3" ,
14
18
"@babel/core" : " ^7.2.2" ,
15
19
"@babel/plugin-proposal-class-properties" : " ^7.2.3" ,
16
20
"@babel/preset-env" : " ^7.2.3" ,
20
24
"coveralls" : " ^3.0.2" ,
21
25
"enzyme" : " ^3.8.0" ,
22
26
"enzyme-adapter-react-16" : " ^1.7.1" ,
23
- "jest" : " ^23.6.0"
27
+ "jest" : " ^23.6.0" ,
28
+ "react" : " ^16.7.0" ,
29
+ "react-dom" : " ^16.7.0"
24
30
},
25
31
"targets" : " > 0.25%, not dead" ,
26
32
"jest" : {
27
- "setupTestFrameworkScriptFile" : " <rootDir>/__test__/setup.js"
33
+ "setupTestFrameworkScriptFile" : " <rootDir>/__test__/setup.js" ,
34
+ "watchPathIgnorePatterns" : [
35
+ " <rootDir>/__test__/__integration-test__"
36
+ ]
28
37
},
29
- "dependencies " : {
38
+ "peerDependencies " : {
30
39
"react" : " ^16.7.0" ,
31
40
"react-dom" : " ^16.7.0"
32
41
}
You can’t perform that action at this time.
0 commit comments