-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
104 lines (104 loc) · 2.9 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
{
"name": "mpadiff",
"version": "1.0.6",
"description": "Preloads links in Multipage apps to behave like an SPA",
"main": "build/index.js",
"types": "build/types/index.d.ts",
"scripts": {
"build": "webpack && tsc",
"start": "yarn start:lib & yarn start:demo",
"start:lib": "webpack --watch & tsc --watch",
"start:demo": "cd demo && node index",
"test": "jest --silent",
"coverage": "npm run test -- --coverage",
"prepare": "npm run build",
"trypublish": "npm publish || true"
},
"repository": {
"type": "git",
"url": "https://github.com/atwamahmoud/MPADiff"
},
"author": "Mahmoud Atwa <[email protected]> (https://github.com/atwamahmoud)",
"license": "MIT",
"bugs": {
"url": "https://github.com/atwamahmoud/MPADiff/issues"
},
"homepage": "https://github.com/atwamahmoud/MPADiff",
"keywords": [
"library",
"starter",
"es6"
],
"devDependencies": {
"@babel/cli": "^7.14.5",
"@babel/core": "^7.14.6",
"@babel/plugin-proposal-class-properties": "^7.14.5",
"@babel/plugin-transform-typescript": "^7.14.6",
"@babel/polyfill": "^7.12.1",
"@babel/preset-env": "^7.14.7",
"@types/jest": "^26.0.24",
"@typescript-eslint/eslint-plugin": "^4.28.3",
"@typescript-eslint/parser": "^4.28.3",
"babel-eslint": "^10.1.0",
"babel-loader": "^8.2.2",
"babel-preset-minify": "^0.5.0",
"css-loader": "^6.1.0",
"eslint": "^7.31.0",
"file-loader": "^6.2.0",
"html-webpack-plugin": "^5.3.2",
"jest": "^27.0.6",
"mini-css-extract-plugin": "^2.1.0",
"node-fetch": "^2.6.1",
"optimize-css-assets-webpack-plugin": "^6.0.1",
"copy-webpack-plugin": "^9.0.1",
"prettier": "^2.3.2",
"prettier-webpack-plugin": "^1.2.0",
"style-loader": "^3.1.0",
"terser-webpack-plugin": "^5.1.4",
"typescript": "^4.3.5",
"url-loader": "^4.1.1",
"webpack": "^5.45.1",
"webpack-cli": "^4.7.2",
"webpack-dev-server": "4.0.0-beta.3"
},
"jest": {
"roots": [
"<rootDir>/src"
],
"collectCoverageFrom": [
"src/**/*.{js,jsx,ts,tsx}",
"!src/lib/index.js",
"!src/demo/index.js",
"!src/utils/**",
"!**/tests/**"
],
"testMatch": [
"<rootDir>/src/**/__tests__/**/*.{js,jsx,ts,tsx}",
"<rootDir>/src/**/*.{spec,test}.{js,jsx,ts,tsx}"
],
"transformIgnorePatterns": [
"[/\\\\]node_modules[/\\\\].+\\.(js|jsx|ts|tsx)$",
"^.+\\.module\\.(css|sass|scss)$"
],
"modulePaths": [
"<rootDir>/src/"
],
"moduleNameMapper": {
"\\.(jpg|jpeg|png|gif|eot|otf|webp|svg|ttf|woff|woff2|mp4|webm|wav|mp3|m4a|aac|oga)$": "<rootDir>/scripts/testMock.js",
"\\.(css|less)$": "<rootDir>/scripts/testMock.js"
},
"moduleFileExtensions": [
"web.js",
"js",
"web.ts",
"ts",
"web.tsx",
"tsx",
"json",
"web.jsx",
"jsx",
"node"
]
},
"dependencies": {}
}