forked from joe-bell/cva
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
72 lines (72 loc) · 2.2 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
{
"name": "class-variance-authority",
"version": "0.2.4",
"description": "Class Variance Authority 🧬",
"author": "Joe Bell (https://joebell.co.uk)",
"main": "dist/index.cjs.js",
"module": "dist/index.esm.js",
"typings": "dist/index.d.ts",
"funding": "https://joebell.co.uk",
"repository": "https://github.com/joe-bell/cva.git",
"bugs": "https://github.com/joe-bell/cva/issues",
"homepage": "https://github.com/joe-bell/cva#readme",
"keywords": [
"css",
"classes",
"classname",
"classnames",
"variants",
"cva",
"class-variance-authority",
"Class Variance Authority",
"stitches",
"vanilla-extract"
],
"files": [
"dist/*.js",
"dist/*.js.map",
"dist/*.d.ts"
],
"scripts": {
"build": "npm-run-all build:*",
"build:cjs": "npx swc ./src/index.ts --config-file ./.config/.swcrc -o dist/index.cjs.js -C module.type=commonjs",
"build:esm": "npx swc ./src/index.ts --config-file ./.config/.swcrc -o dist/index.esm.js -C module.type=es6 ",
"build:tsc": "tsc --project .config/tsconfig.build.json",
"lint:tsc": "tsc --project tsconfig.json --noEmit",
"lint:frm": "npx prettier . --check --ignore-unknown --ignore-path .gitignore",
"lint": "run-p lint:*",
"pre-commit": "npx lint-staged --config .config/lint-staged.config.mjs",
"test": "run-p test:*",
"test:jest": "jest --config .config/jest.config.ts --coverage",
"test:size": "run-p build:cjs build:esm && npx bundlesize -f 'dist/*.js' -s 850B",
"dev": "jest --config .config/jest.config.ts --watch",
"prepare": "husky install",
"prepublishOnly": "npm run build"
},
"devDependencies": {
"@swc/cli": "0.1.57",
"@swc/core": "1.2.198",
"@swc/jest": "0.2.21",
"@types/jest": "28.1.1",
"@types/react": "18.0.12",
"@types/react-dom": "18.0.5",
"bundlesize": "0.18.1",
"husky": "8.0.1",
"jest": "28.1.1",
"lint-staged": "13.0.1",
"npm-run-all": "4.1.5",
"prettier": "2.6.2",
"react": "18.1.0",
"react-dom": "18.1.0",
"ts-node": "10.8.1",
"typescript": "4.7.3"
},
"peerDependencies": {
"typescript": ">= 4.5.5 < 5"
},
"peerDependenciesMeta": {
"typescript": {
"optional": true
}
}
}