-
Notifications
You must be signed in to change notification settings - Fork 3
/
package.json
93 lines (93 loc) · 3.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
81
82
83
84
85
86
87
88
89
90
91
92
93
{
"name": "emotion-ts-plugin",
"version": "1.1.0",
"description": "TypeScript Emotion Plugin",
"main": "lib/index.js",
"module": "esm/index.js",
"types": "lib/index.d.ts",
"repository": "[email protected]:LeetCode-OpenSource/emotion-ts-plugin.git",
"author": "[email protected]",
"license": "MIT",
"scripts": {
"build": "tsc -p tsconfig.json --outDir lib --diagnostics && tsc -p tsconfig.json -m esnext --outDir esm --diagnostics",
"dev": "tsc -p tsconfig.json --outDir lib --diagnostics -w",
"format": "run-p format:md format:json format:source format:yml",
"format:json": "prettier --parser json --write '**/*.json'",
"format:md": "prettier --parser markdown --write './*.md'",
"format:source": "prettier --config ./package.json './{src,tests}/**/*.{ts,tsx,js}' --write",
"format:yml": "prettier --parser yaml --write './*.{yml,yaml}'",
"lint": "eslint . -c ./.eslintrc.yml '{src,tests}/**/*.{js,ts,tsx}'",
"start": "webpack serve --progress --color",
"test": "jest --no-cache --ci"
},
"devDependencies": {
"@emotion/react": "^11.1.4",
"@emotion/styled": "^11.0.0",
"@swc-node/jest": "^1.1.0",
"@types/convert-source-map": "^1.5.1",
"@types/find-root": "^1.1.2",
"@types/jest": "^26.0.20",
"@types/lodash": "^4.14.168",
"@types/react-dom": "^17.0.0",
"@typescript-eslint/eslint-plugin": "^4.14.1",
"@typescript-eslint/parser": "^4.14.1",
"eslint": "^7.18.0",
"eslint-config-prettier": "^7.2.0",
"eslint-plugin-import": "^2.22.1",
"eslint-plugin-prettier": "^3.3.1",
"html-webpack-plugin": "^5.0.0",
"husky": "^4.3.8",
"jest": "^26.6.3",
"jest-specific-snapshot": "^4.0.0",
"lint-staged": "^10.5.3",
"mini-css-extract-plugin": "^1.3.4",
"npm-run-all": "^4.1.5",
"prettier": "^2.2.1",
"prop-types": "^15.7.2",
"react": "^17.0.1",
"react-dom": "^17.0.1",
"ts-loader": "^8.0.14",
"typescript": "^4.1.3",
"webpack": "^5.18.0",
"webpack-cli": "^4.4.0"
},
"dependencies": {
"@emotion/hash": "^0.8.0",
"convert-source-map": "^1.7.0",
"find-root": "^1.1.0",
"lodash": "^4.17.20",
"source-map": "^0.7.3",
"tslib": "^2.1.0"
},
"files": ["lib/**", "esm/**"],
"jest": {
"preset": "@swc-node/jest",
"moduleFileExtensions": ["ts", "tsx", "js", "jsx"],
"testRegex": "/tests/.*\\.spec\\.(j|t)sx?$",
"collectCoverage": true,
"collectCoverageFrom": ["src/**/*.ts"]
},
"prettier": {
"printWidth": 80,
"semi": false,
"singleQuote": true,
"trailingComma": "all",
"arrowParens": "always",
"parser": "typescript"
},
"lint-staged": {
"*.@(js|ts|tsx)": ["prettier --write", "eslint -c .eslintrc.yml --fix"],
"*.@(yml|yaml)": ["prettier --parser yaml --write"],
"*.md": ["prettier --parser markdown --write"],
"*.json": ["prettier --parser json --write"]
},
"husky": {
"hooks": {
"pre-commit": "lint-staged"
}
},
"funding": {
"type": "github",
"url": "https://github.com/sponsors/Brooooooklyn"
}
}