-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
82 lines (82 loc) · 2.35 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
{
"name": "@bx-design/react-grid",
"version": "0.2.5",
"repository": "git@github.com:bx-design/react-grid.git",
"author": "BX Creative Studio",
"license": "MIT",
"main": "./dist/index.js",
"module": "./esm/index.js",
"types": "./dist/index.d.ts",
"files": [
"dist/**",
"esm/**"
],
"scripts": {
"build": "yarn build:esm && yarn build:cjs && yarn build:tws-dist && yarn build:tws-esm",
"build:cjs": "rimraf ./dist && ncc build src/index.ts -o dist -m -e react",
"build:esm": "rimraf ./esm && tsc --module ES6 --outDir esm",
"build:tws-dist": "rimraf ./dist/tws-plugin && recursive-copy 'src/tws-plugin' dist/tws-plugin",
"build:tws-esm": "rimraf ./esm/tws-plugin && recursive-copy 'src/tws-plugin' esm/tws-plugin",
"watch": "tsc --watch",
"watch:esm": "tsc --module ES6 --outDir esm --target esnext --watch",
"types:check": "tsc --noEmit",
"format": "prettier --check --debug-check ./src",
"format:fix": "prettier --write ./src",
"lint": "eslint src",
"lint:fix": "eslint src --fix",
"test": "jest",
"test:watch": "jest --watch",
"test:coverage": "jest --coverage"
},
"husky": {
"hooks": {
"pre-commit": "yarn types:check && lint-staged"
}
},
"lint-staged": {
"*.{ts,tsx}": [
"yarn lint:fix",
"yarn format:fix"
]
},
"devDependencies": {
"@testing-library/jest-dom": "^5.16.1",
"@testing-library/react": "^12.1.2",
"@types/jest": "^27.4.0",
"@types/react": "^17.0.38",
"@types/react-dom": "^17.0.11",
"@types/testing-library__jest-dom": "^5.14.2",
"@vercel/ncc": "^0.33.1",
"autoprefixer": "^10.4.2",
"cp-cli": "^2.0.0",
"cpy-cli": "^3.1.1",
"eslint": "^8.7.0",
"eslint-config-prettier": "^8.3.0",
"eslint-config-react-app": "^7.0.0",
"eslint-plugin-node": "^11.1.0",
"eslint-plugin-prettier": "^4.0.0",
"husky": "^5.1.3",
"jest": "^27.4.7",
"lint-staged": "^12.3.1",
"postcss": "^8.4.5",
"prettier": "^2.5.1",
"react": "^17.0.2",
"react-dom": "^17.0.2",
"recursive-copy-cli": "^1.0.20",
"rimraf": "^3.0.2",
"tailwindcss": "^3.0.16",
"ts-jest": "^27.1.3",
"typescript": "^4.5.5"
},
"peerDependencies": {
"react": "^17.0.2"
},
"peerDependenciesMeta": {
"react-dom": {
"optional": true
}
},
"dependencies": {
"clsx": "^1.1.1"
}
}