-
Notifications
You must be signed in to change notification settings - Fork 66
/
package.json
69 lines (69 loc) · 1.75 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
{
"name": "miniprogram-simulate",
"version": "1.6.1",
"description": "tools for miniprogram custom component unit test",
"main": "index.js",
"types": "index.d.ts",
"scripts": {
"dev": "webpack --watch",
"build": "webpack",
"karma": "npm run build && karma start",
"test": "jest --bail",
"coverage": "jest --coverage --bail",
"codecov": "jest --coverage && codecov",
"lint": "eslint \"src/**/*.js\" --fix && eslint \"test/**/*.js\" --fix"
},
"jest": {
"testEnvironment": "jsdom",
"testURL": "https://jest.test",
"testMatch": [
"**/test/**/*.test.js"
],
"collectCoverageFrom": [
"src/*.js"
],
"moduleDirectories": [
"node_modules",
"src"
]
},
"keywords": [
"miniprogram",
"custom component",
"unit test"
],
"repository": {
"type": "git",
"url": "https://github.com/wechat-miniprogram/miniprogram-simulate.git"
},
"author": "wechat-miniprogram",
"license": "MIT",
"devDependencies": {
"chai": "^4.2.0",
"codecov": "^3.7.0",
"eslint": "^5.16.0",
"eslint-config-airbnb-base": "13.1.0",
"eslint-plugin-import": "^2.18.2",
"eslint-plugin-node": "^7.0.1",
"eslint-plugin-promise": "^3.8.0",
"jest": "^26.0.1",
"karma": "^6.3.20",
"karma-chai": "^0.1.0",
"karma-chrome-launcher": "^3.1.1",
"karma-dirname-preprocessor": "latest",
"karma-filemap-preprocessor": "latest",
"karma-mocha": "^2.0.1",
"karma-webpack": "^4.0.2",
"mocha": "^10.0.0",
"webpack": "^4.41.2",
"webpack-cli": "^3.3.10"
},
"dependencies": {
"csso": "^3.5.1",
"j-component": "^1.4.9",
"less": "^3.10.3",
"miniprogram-compiler": "latest",
"postcss": "^7.0.23",
"pretty-format": "^26.0.1"
}
}