forked from riccardoperra/codeimage
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
48 lines (48 loc) · 1.4 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
{
"name": "@codeimage/atomic-state",
"version": "0.1.0",
"source": "src/index.tsx",
"main": "dist/cjs/index.js",
"module": "dist/esm/index.js",
"types": "dist/types/index.d.ts",
"type": "module",
"files": [
"dist"
],
"exports": {
".": {
"solid": "./dist/source/index.jsx",
"import": "./dist/esm/index.js",
"browser": "./dist/esm/index.js",
"require": "./dist/cjs/index.js",
"node": "./dist/cjs/index.js"
}
},
"scripts": {
"build": "rollup -c",
"pre-commit": "lint-staged --relative",
"pre-commit-prettier": "prettier --write",
"pre-commit-eslint": "eslint --ext .js,.jsx,.mjs,.ts,.tsx -c ../../.eslintrc.js --fix",
"lint": "eslint . --ext .js,.jsx,.mjs,.ts,.tsx -c ../../.eslintrc.js",
"clean": "rimraf dist",
"build-esm": "tsc -p tsconfig.esm.json",
"build-dts": "tsc -p tsconfig.dts.json",
"typecheck": "tsc --noEmit --skipLibCheck --project tsconfig.json",
"typecheck:ci": "tsc --skipLibCheck --project tsconfig.dts.json",
"dev": "chokidar \"src/**/*.{ts,tsx}\" -c \"pnpm build\""
},
"peerDependencies": {
"rxjs": "^7.5.6",
"solid-js": "^1.5.2"
},
"devDependencies": {
"@types/node": "^18.11.0",
"rollup": "^2.79.1",
"rollup-preset-solid": "^1.4.0",
"rxjs": "^7.5.7",
"solid-js": "^1.5.7",
"vite": "^3.1.8",
"vite-plugin-dts": "^1.6.6",
"vite-plugin-solid": "^2.3.9"
}
}