-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathpackage.json
109 lines (109 loc) · 2.88 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
109
{
"name": "@engineerapart/nextscript",
"version": "2.0.2",
"description": "A custom Next script loader for Next.js. Replaces the built-in NextScript component and allows you to apply polyfill pre-loading and business logic.",
"main": "dist/nextscript.cjs.js",
"module": "dist/nextscript.esm.js",
"types": "dist/types/index.d.ts",
"files": [
"dist"
],
"scripts": {
"prebuild": "rimraf dist",
"build": "tsc --project . && rollup -c rollup.config.ts",
"start": "rollup -c rollup.config.ts -w",
"test": "jest",
"test:watch": "jest --watch",
"lint": "tslint -t codeFrame 'src/**/*.ts' 'test/**/*.ts'",
"changelog": "conventional-changelog -p angular -i CHANGELOG.md -s",
"prepublish": "yarn build && npm version patch"
},
"repository": {
"type": "git",
"url": "git+https://github.com/engineerapart/nextscript.git"
},
"keywords": [
"next.js",
"nextjs",
"next",
"nextscript",
"polyfills",
"preload",
"preloader"
],
"author": "Patrick <[email protected]>",
"license": "MIT",
"bugs": {
"url": "https://github.com/engineerapart/nextscript/issues"
},
"homepage": "https://github.com/engineerapart/nextscript#readme",
"dependencies": {
"prop-types": "^15.7.2",
"react": "^16.10.0",
"react-dom": "^16.10.0",
"terser": "^4.3.3"
},
"devDependencies": {
"@babel/core": "^7.6.2",
"@commitlint/cli": "^8.2.0",
"@commitlint/config-angular": "^8.2.0",
"@commitlint/config-conventional": "^8.2.0",
"@types/htmlescape": "^1.1.1",
"@types/jest": "^24.0.18",
"@types/node": "^12.7.8",
"@types/prop-types": "^15.7.3",
"@types/react": "^16.9.3",
"@types/react-dom": "^16.9.1",
"conventional-changelog-cli": "^2.0.23",
"husky": "^3.0.5",
"jest": "^24.9.0",
"rimraf": "^3.0.0",
"rollup": "^1.21.4",
"rollup-plugin-commonjs": "^10.1.0",
"rollup-plugin-node-resolve": "^5.2.0",
"rollup-plugin-sourcemaps": "^0.4.2",
"rollup-plugin-terser": "^5.1.2",
"rollup-plugin-typescript2": "^0.24.3",
"ts-jest": "^24.1.0",
"ts-node": "^8.4.1",
"tslint": "^5.20.0",
"tslint-eslint-rules": "^5.4.0",
"tslint-react": "^4.1.0",
"typescript": "^3.6.3",
"validate-commit-msg": "^2.14.0"
},
"commitlint": {
"extends": [
"@commitlint/config-conventional"
]
},
"jest": {
"transform": {
".(ts|tsx)": "ts-jest"
},
"testRegex": "(/__tests__/.*|\\.(test|spec))\\.(ts|tsx|js)$",
"moduleFileExtensions": [
"ts",
"tsx",
"js"
],
"coveragePathIgnorePatterns": [
"/node_modules/",
"/test/"
],
"coverageThreshold": {
"global": {
"branches": 0,
"functions": 0,
"lines": 0,
"statements": 0
}
},
"collectCoverage": true
},
"husky": {
"hooks": {
"commit-msg": "commitlint -E HUSKY_GIT_PARAMS"
}
}
}