forked from testing-library/svelte-testing-library
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
132 lines (132 loc) · 3.32 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
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
{
"name": "@testing-library/svelte",
"version": "0.0.0-semantically-released",
"description": "Simple and complete Svelte testing utilities that encourage good testing practices.",
"main": "dist/index.js",
"types": "types/index.d.ts",
"license": "MIT",
"homepage": "https://github.com/testing-library/svelte-testing-library#readme",
"repository": {
"type": "git",
"url": "https://github.com/testing-library/svelte-testing-library"
},
"bugs": {
"url": "https://github.com/testing-library/svelte-testing-library/issues"
},
"engines": {
"node": ">= 10"
},
"keywords": [
"testing",
"svelte",
"ui",
"dom",
"jsdom",
"unit",
"integration",
"functional",
"end-to-end",
"e2e"
],
"files": [
"dist",
"dont-cleanup-after-each.js",
"pure.js",
"types/index.d.ts"
],
"scripts": {
"toc": "doctoc README.md",
"lint": "eslint src --fix",
"clean": "rimraf dist",
"build": "npm run clean && babel src --out-dir dist --ignore '**/__tests__/**'",
"test": "jest src",
"test:watch": "npm run test -- --watch",
"test:update": "npm run test -- --updateSnapshot --coverage",
"setup": "npm install && npm run validate",
"validate": "npm run clean && npm-run-all lint test build",
"contributors:add": "all-contributors add",
"contributors:generate": "all-contributors generate"
},
"peerDependencies": {
"svelte": "3.x"
},
"dependencies": {
"@testing-library/dom": "^8.1.0"
},
"devDependencies": {
"@babel/cli": "^7.6.2",
"@babel/core": "^7.6.2",
"@babel/plugin-transform-modules-commonjs": "^7.6.0",
"@babel/preset-env": "^7.6.2",
"@commitlint/cli": "^13.1.0",
"@commitlint/config-conventional": "^13.1.0",
"@testing-library/jest-dom": "^5.0.2",
"@types/jest": "^27.0.0",
"all-contributors-cli": "^6.9.0",
"babel-eslint": "^10.0.3",
"babel-jest": "^27.0.6",
"doctoc": "^2.0.0",
"eslint": "^7.2.0",
"eslint-config-standard": "^16.0.0",
"eslint-plugin-import": "^2.18.2",
"eslint-plugin-node": "^11.0.0",
"eslint-plugin-promise": "^5.1.0",
"eslint-plugin-simple-import-sort": "^7.0.0",
"eslint-plugin-svelte3": "^3.0.0",
"husky": "^7.0.1",
"jest": "^27.0.0",
"lint-staged": "^11.1.1",
"npm-run-all": "^4.1.5",
"prettier": "^2.0.1",
"svelte": "^3.0.0",
"svelte-jester": "^2.1.4"
},
"husky": {
"hooks": {
"pre-commit": "lint-staged",
"commit-msg": "commitlint -E HUSKY_GIT_PARAMS"
}
},
"lint-staged": {
"README.md": [
"npm run toc",
"prettier --parser markdown --write",
"git add"
],
".all-contributorsrc": [
"npm run contributors:generate",
"git add"
],
"**/*.js": [
"npm run lint",
"npm test",
"git add"
]
},
"commitlint": {
"extends": [
"@commitlint/config-conventional"
]
},
"jest": {
"testPathIgnorePatterns": [
"src/__tests__/fixtures"
],
"collectCoverageFrom": [
"src/*.js"
],
"setupFilesAfterEnv": [
"@testing-library/jest-dom/extend-expect"
],
"testEnvironment": "jsdom",
"transform": {
"^.+\\.js$": "babel-jest",
"^.+\\.svelte$": "svelte-jester",
"^.+\\.html$": "svelte-jester"
},
"moduleFileExtensions": [
"js",
"svelte"
]
}
}