-
Notifications
You must be signed in to change notification settings - Fork 4.7k
/
package.json
108 lines (108 loc) · 2.29 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
{
"name": "stylelint-taro-rn",
"description": "A collection of React Native specific rules for stylelint",
"version": "2.0.2",
"main": "dist/index.js",
"babel": {
"presets": [
"es2015"
]
},
"files": [
"dist",
"src",
"CHANGELOG.md",
"README.md",
"!**/__tests__"
],
"keywords": [
"css",
"csslint",
"lint",
"linter",
"stylelint",
"stylelint-plugin"
],
"scripts": {
"precommit": "lint-staged",
"coveralls": "nyc report --reporter=text-lcov | coveralls",
"prebuild": "rimraf dist",
"build": "babel src --out-dir dist",
"lint": "eslint . --ignore-path .gitignore",
"prettify": "prettier --write src/**/*",
"prepublish": "npm run build",
"pretest": "npm run lint",
"release": "npmpub",
"jest": "jest",
"test": "jest --coverage"
},
"repository": {
"type": "git",
"url": "git+https://github.com/NervJS/taro.git"
},
"author": "O2Team",
"license": "MIT",
"engines": {
"node": ">=6"
},
"jest": {
"clearMocks": true,
"collectCoverage": false,
"collectCoverageFrom": [
"src/**/*.js"
],
"coverageDirectory": "./.coverage/",
"coverageReporters": [
"lcov",
"text"
],
"coverageThreshold": {
"global": {
"branches": 75,
"functions": 75,
"lines": 75,
"statements": 75
}
},
"setupFiles": [
"./jest-setup.js"
],
"testEnvironment": "node",
"roots": [
"src"
],
"testRegex": ".*\\.test\\.js$|src/.*/__tests__/.*\\.js$"
},
"lint-staged": {
"**/*.{js,json,md}": [
"prettier --write",
"git add"
]
},
"devDependencies": {
"babel-cli": "^6.26.0",
"babel-core": "^6.26.3",
"babel-plugin-istanbul": "^5.1.0",
"babel-preset-es2015": "^6.24.1",
"babel-preset-jest": "25.0.0",
"coveralls": "^3.0.2",
"eslint": "^5.9.0",
"eslint-config-stylelint": "^11.0.0",
"husky": "^1.1.4",
"jest": "23.4.1",
"jest-cli": "23.4.1",
"lint-staged": "^8.0.4",
"npmpub": "^4.1.0",
"prettier": "^1.15.2",
"rimraf": "^2.6.3",
"stylelint": "9.3.0"
},
"prettier": {
"semi": true,
"singleQuote": false,
"trailingComma": "none"
},
"dependencies": {
"react-native-known-styling-properties": "^1.0.4"
}
}