-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
87 lines (87 loc) · 1.97 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
{
"name": "asnow",
"version": "0.0.2",
"description": "asnow, a simple UI library",
"main": "dist/asnow.umd.js",
"_module": "dist/asnow.esm.js",
"module": "lib/index.ts",
"types": "types/index.d.ts",
"files": [
"lib",
"dist",
"types"
],
"sideEffects": false,
"scripts": {
"test": "cross-env NODE_ENV=unit_test jest",
"lint": "eslint . --ext .js,.jsx,.ts,.tsx",
"dev": "npx vite serve example",
"build": "npx rollup -c"
},
"keywords": [],
"author": "tingyuan",
"license": "MIT",
"bugs": {
"url": "https://github.com/lovetingyuan/asnow/issues"
},
"homepage": "https://github.com/lovetingyuan/asnow",
"devDependencies": {
"@rollup/plugin-replace": "^2.3.3",
"@rollup/plugin-typescript": "^5.0.2",
"@types/jest": "^26.0.10",
"@types/node": "^14.0.27",
"@typescript-eslint/eslint-plugin": "^3.9.1",
"@typescript-eslint/parser": "^3.9.1",
"cross-env": "^7.0.2",
"eslint": "^7.7.0",
"jest": "^26.4.0",
"rollup": "^2.26.3",
"rollup-plugin-terser": "^7.0.0",
"ts-jest": "^26.2.0",
"typescript": "^3.9.7",
"vite": "^1.0.0-rc.4"
},
"eslintConfig": {
"root": true,
"ignorePatterns": [
"dist/**/*"
],
"parser": "@typescript-eslint/parser",
"plugins": [
"@typescript-eslint"
],
"extends": [
"eslint:recommended",
"plugin:@typescript-eslint/recommended"
],
"overrides": [
{
"files": [
"tests/**/*.test.js"
],
"env": {
"jest": true
}
},
{
"files": [
"rollup.config.js"
],
"rules": {
"@typescript-eslint/no-var-requires": "off"
}
}
]
},
"jest": {
"preset": "ts-jest/presets/js-with-ts",
"testMatch": [
"<rootDir>/tests/**/*.test.js"
],
"collectCoverage": false,
"coverageDirectory": "tests/coverage",
"moduleNameMapper": {
"^types/(.*)$": "<rootDir>/types/$1"
}
}
}