-
Notifications
You must be signed in to change notification settings - Fork 1
/
package.json
103 lines (103 loc) · 2.95 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
{
"private": true,
"name": "svelte-template",
"description": "Svelte template with ts, jest, eslint, prettier, postcss, etc",
"scripts": {
"clean": "rimraf public/*.js*",
"build": "rollup -c",
"autobuild": "rollup -c -w",
"dev": "run-p start:dev autobuild",
"start": "sirv public --single",
"start:dev": "sirv public --dev --single",
"lint:eslint": "eslint src --cache --ext .ts,.svelte",
"lint:prettier": "prettier --check 'src/**/*.{ts,svelte}'",
"lint:types": "tsc --skipLibCheck --noEmit",
"lint": "run-s -c lint:*",
"format:eslint": "eslint src --fix --ext .ts,.svelte",
"format:prettier": "prettier --write 'src/**/*.{ts,svelte}'",
"format": "run-s -c format:* lint:types",
"test": "NODE_ENV=test jest --coverage"
},
"dependencies": {
},
"devDependencies": {
"autoprefixer": "^10.0.0",
"@rollup/plugin-alias": "^3.1.1",
"@rollup/plugin-commonjs": "^11.0.0",
"@rollup/plugin-node-resolve": "^7.0.0",
"@rollup/plugin-replace": "^2.3.0",
"@testing-library/jest-dom": "^5.11.4",
"@testing-library/svelte": "^3.0.0",
"@types/jest": "^26.0.14",
"@typescript-eslint/eslint-plugin": "^4.1.1",
"@typescript-eslint/parser": "^4.1.1",
"cssnano": "^4.1.10",
"eslint": "^7.9.0",
"eslint-config-prettier": "^6.11.0",
"eslint-plugin-import": "^2.22.0",
"eslint-plugin-jest": "^24.0.1",
"eslint-plugin-prettier": "^3.1.4",
"eslint-plugin-promise": "^4.2.1",
"eslint-plugin-svelte3": "^2.7.3",
"eslint-plugin-vue": "^6.2.2",
"jest": "^26.4.2",
"jest-serializer-html": "^7.0.0",
"npm-run-all": "^4.1.3",
"postcss": "^8.0.3",
"postcss-import": "^12.0.1",
"postcss-url": "^8.0.0",
"prettier": "^2.1.2",
"prettier-eslint": "^11.0.0",
"prettier-plugin-svelte": "^1.2.1",
"rimraf": "^3.0.2",
"rollup": "^1.29.0",
"rollup-plugin-livereload": "^2.0.0",
"rollup-plugin-svelte": "^5.1.0",
"rollup-plugin-terser": "^5.0.0",
"rollup-plugin-typescript2": "^0.27.2",
"sirv-cli": "^0.4.0",
"svelte": "^3.4.4",
"svelte-preprocess": "^4.3.0",
"ts-jest": "^26.3.0",
"typescript": "^4.0.2",
"vue-eslint-parser": "^7.1.0"
},
"browserslist": [
">0.25%",
"last 1 version",
"not ie_mob 11",
"not ios < 10",
"not ie < 11",
"not dead"
],
"jest": {
"cacheDirectory": "<rootDir>/.jestcache",
"collectCoverageFrom": [
"src/**/*.{ts,svelte}",
"!src/**/node_modules/**",
"!**/*.d.ts"
],
"setupFiles": [
"<rootDir>/.jest/setup.js"
],
"testMatch": [
"<rootDir>/src/**/*.(spec|test).ts"
],
"testEnvironment": "jsdom",
"transform": {
"^.+\\.tsx?$": "ts-jest",
"^.+\\.svelte$": "<rootDir>/.jest/svelte.js"
},
"moduleFileExtensions": [
"ts",
"js",
"svelte"
],
"moduleNameMapper": {
"~/(.*)$": "<rootDir>/src/$1"
},
"snapshotSerializers": [
"jest-serializer-html"
]
}
}