-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
86 lines (86 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
{
"name": "spa-renderer",
"description": "A renderer which uses puppeteer and renders to html, also contains an express server",
"main": "./lib/index.js",
"typings": "./lib/index",
"module": "./lib.es2015/index.js",
"jsnext:main": "./lib.es2015/index.js",
"keywords": [
"puppeteer",
"SPA render",
"SPA renderer",
"prerender"
],
"author": "",
"license": "ISC",
"repository": {
"type": "git",
"url": "https://github.com/fossapps/spa-renderer.git"
},
"homepage": "https://github.com/fossapps/spa-renderer",
"dependencies": {
"autobind-decorator": "^2.4.0",
"express": "^4.17.1",
"puppeteer-core": "^1.18.0"
},
"devDependencies": {
"@types/express": "^4.17.0",
"@types/jest": "^24.0.15",
"@types/node": "^13.1.0",
"@types/puppeteer-core": "^1.9.0",
"del-cli": "^3.0.0",
"husky": "^3.0.0",
"jest": "^24.8.0",
"semantic-release": "^15.13.18",
"ts-jest": "^24.0.2",
"ts-node": "^8.3.0",
"tslint": "^5.11.0",
"tslint-microsoft-contrib": "^6.2.0",
"typescript": "^3.5.2",
"validate-commit-msg": "^2.14.0",
"webpack": "^4.22.0",
"webpack-cli": "^3.1.2"
},
"scripts": {
"start": "ts-node ./src/express.ts",
"test": "jest",
"test:no-cache": "jest --no-cache",
"test:watch": "jest --watch",
"build": "npm run clean && tsc -p .",
"clean": "del-cli ./lib ./coverage",
"lint": "tslint -t stylish --project tsconfig.json './src/**/*.ts'",
"lint:fix": "npm run lint -s -- --fix",
"semantic-release": "semantic-release pre && npm publish && semantic-release post"
},
"jest": {
"transform": {
"^.+\\.tsx?$": "ts-jest"
},
"cacheDirectory": "<rootDir>/.jest/cache",
"collectCoverage": true,
"collectCoverageFrom": [
"src/**/*"
],
"coverageDirectory": "<rootDir>/coverage",
"coveragePathIgnorePatterns": [
"index.ts"
],
"testRegex": "(/__tests__/.*|\\.(test|spec))\\.(ts|tsx)$",
"moduleFileExtensions": [
"ts",
"js"
],
"moduleDirectories": [
"node_modules",
"./"
],
"setupTestFrameworkScriptFile": "./JestBootstrap.ts"
},
"husky": {
"hooks": {
"commit-msg": "validate-commit-msg",
"pre-commit": "npm run lint -s",
"pre-push": "npm run build -s && npm run test -s"
}
}
}