-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
87 lines (87 loc) · 2.39 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
{
"name": "spaghettify",
"version": "1.2.2",
"description": "JavaScript module that replaces regular navigation by an AJAX-driven experience.",
"main": "dist/index.js",
"repository": "https://github.com/deeleman/spaghettify",
"author": "Pablo Deeleman <[email protected]>",
"license": "MIT",
"private": false,
"scripts": {
"dev": "yarn clean && yarn serve",
"serve": "webpack serve --mode development",
"lint": "eslint",
"build": "yarn clean && tsc && tsc -m es6 --outDir dist/lib-esm && webpack --mode production",
"clean": "rimraf dist sandbox/temp coverage",
"test": "jest --silent=false",
"test:ci": "jest --silent --coverage && cat ./coverage/lcov.info | coveralls"
},
"dependencies": {
"promise-polyfill": "^8.2.0",
"whatwg-fetch": "^3.6.2"
},
"devDependencies": {
"@babel/cli": "^7.14.3",
"@babel/core": "^7.14.3",
"@babel/preset-env": "^7.14.2",
"@babel/preset-typescript": "^7.13.0",
"@types/jest": "^26.0.23",
"@types/node": "^15.3.0",
"@typescript-eslint/eslint-plugin": "^4.24.0",
"@typescript-eslint/parser": "^4.24.0",
"babel-jest": "^27.0.2",
"babel-loader": "^8.2.2",
"coveralls": "^3.1.0",
"eslint": "^7.26.0",
"fork-ts-checker-webpack-plugin": "^6.2.10",
"jest": "^26.6.3",
"rimraf": "^3.0.2",
"typescript": "^4.2.4",
"web-streams-polyfill": "^3.0.3",
"webpack": "^5.76.0",
"webpack-cli": "^4.7.0",
"webpack-dev-server": "^3.11.2"
},
"babel": {
"presets": [
[
"@babel/preset-env",
{
"targets": {
"browsers": [
"last 2 Chrome versions"
]
}
}
],
"@babel/preset-typescript"
],
"plugins": []
},
"jest": {
"transform": {
"\\.[jt]sx?$": "babel-jest"
},
"testRegex": "(/__tests__/.*|\\.(test|spec))\\.(ts|tsx|js)$",
"moduleFileExtensions": [
"ts",
"tsx",
"js"
],
"moduleNameMapper": {
"^spaghettify/core": "<rootDir>/src/core",
"^spaghettify/core/(.*)$": "<rootDir>/src/core/$1"
},
"collectCoverageFrom": [
"<rootDir>/src/**/*.{js,ts}",
"!<rootDir>/src/**/index.ts",
"!<rootDir>/src/**/*.types.ts"
],
"coveragePathIgnorePatterns": [
"<rootDir>/src/core/testing",
"<rootDir>/src/core/polyfills",
"<rootDir>/sandbox",
"<rootDir>/node_modules"
]
}
}