-
Notifications
You must be signed in to change notification settings - Fork 1
/
package.json
80 lines (80 loc) · 2.01 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
{
"name": "@minapp/common",
"version": "3.0.0",
"description": "minapp 内部组件通用的一个库",
"main": "dist/index.js",
"typings": "dist/index.d.ts",
"scripts": {
"test": "jest",
"lint": "eslint --ext .ts,.tsx ./src",
"postpublish": "sync-taobao",
"clear": "remove-all dist",
"build": "npm run clear && tsc",
"watch": "tsc -w",
"prepare": "npm run lint && npm run test && npm run build"
},
"publishConfig": {
"access": "public",
"registry": "https://registry.npmjs.org"
},
"license": "MIT",
"author": "Mora <[email protected]> (https://github.com/qiu8310)",
"bugs": "https://github.com/wx-minapp/minapp-common/issues",
"homepage": "https://github.com/wx-minapp/minapp-common",
"repository": {
"type": "git",
"url": "https://github.com/wx-minapp/minapp-common"
},
"eslintConfig": {
"env": {
"node": true,
"browser": false
},
"extends": [
"./node_modules/@serpent/dev-kits/.eslintrc"
],
"parserOptions": {
"ecmaVersion": 2018,
"sourceType": "module",
"project": "./tsconfig.json"
},
"rules": {
"@typescript-eslint/no-parameter-properties": "off",
"@typescript-eslint/no-var-requires": "off",
"@typescript-eslint/ban-ts-ignore": "off"
}
},
"eslintIgnore": [
"dist",
"coverage"
],
"prettier": {
"printWidth": 120,
"tabWidth": 2,
"useTabs": false,
"semi": false,
"singleQuote": true,
"trailingComma": "es5",
"bracketSpacing": true,
"jsxBracketSameLine": false,
"endOfLine": "lf",
"arrowParens": "avoid",
"jsxSingleQuote": true
},
"jest": {
"preset": "./node_modules/@serpent/dev-kits/jest.config.js",
"testEnvironment": "node",
"collectCoverage": false
},
"devDependencies": {
"@serpent/dev-kits": "~0.7.2",
"@types/fs-extra": "^5.0.1",
"@types/json5": "^0.0.29",
"fs-extra": "^5.0.0",
"tslib": "^1.9.0"
},
"dependencies": {
"json5": "^0.5.1",
"mora-common": "^1.0.12"
}
}