forked from jaredpalmer/after.js
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
95 lines (95 loc) · 2.34 KB
/
Copy pathpackage.json
File metadata and controls
95 lines (95 loc) · 2.34 KB
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
{
"name": "@jaredpalmer/after",
"private": false,
"version": "1.5.1",
"description": "Build isomorphic Javascript applications with ease.",
"repository": "jaredpalmer/after.js",
"author": "Jared Palmer <jared@palmer.net>",
"license": "MIT",
"main": "build/index.js",
"types": "build/index.d.ts",
"files": [
"build",
"after.js",
"document.js",
"asyncComponent.js",
"ensureReady.js",
"render.js",
"loadInitialProps.js"
],
"scripts": {
"prepare": "tsc -p tsconfig.build.json",
"start": "tsc -p tsconfig.build.json -w",
"format": "prettier --trailing-comma es5 --single-quote --write \"**/*.+(js|jsx|json|yml|yaml|css|less|scss|ts|tsx|md|mdx)\"",
"test": "razzle test --env=jsdom --no-cache",
"test:ci": "CI=true yarn test"
},
"husky": {
"hooks": {
"pre-commit": "lint-staged"
}
},
"lint-staged": {
"**/*.+(js|jsx|json|yml|yaml|css|less|scss|ts|tsx|md|mdx)": [
"prettier --trailing-comma es5 --single-quote --write",
"git add"
]
},
"jest": {
"transform": {
"^.+\\.tsx?$": "ts-jest"
},
"testMatch": [
"<rootDir>/src/test/**/*test.ts?(x)"
],
"moduleFileExtensions": [
"ts",
"tsx",
"js",
"jsx",
"json"
],
"collectCoverageFrom": [
"**/*.js"
],
"globals": {
"ts-jest": {
"diagnostics": false
}
}
},
"peerDependencies": {
"express": ">=4",
"react": ">=16.3.2",
"react-helmet": ">=5.2.0",
"react-router-dom": ">=4.2.2",
"serialize-javascript": ">=1.5.0"
},
"devDependencies": {
"@types/express": "^4.16.0",
"@types/jest": "^23.3.2",
"@types/node": "^10.9.2",
"@types/react": "^16.4.14",
"@types/react-dom": "^16.0.7",
"@types/react-helmet": "^5.0.3",
"@types/react-router": "^4.4.5",
"@types/react-router-dom": "^4.3.4",
"@types/serialize-javascript": "^1.3.2",
"express": "^4.16.2",
"husky": ">=1",
"jest": "^23.6.0",
"lint-staged": ">=8",
"prettier": "^1.19.1",
"razzle": "^2.4.0",
"react": "^16.5.0",
"react-dom": "^16.5.0",
"react-helmet": "^5.2.0",
"react-router-dom": "^4.2.2",
"serialize-javascript": "^2.1.1",
"ts-jest": "^23.1.4",
"tslint": "^5.9.1",
"tslint-config-prettier": "^1.7.0",
"tslint-react": "^3.4.0",
"typescript": "^2.8.1"
}
}