UNPKG

sandpack-file-explorer

Version:

A file explorer for Codesandbox's 'sandpack' code editor

158 lines (157 loc) 4.25 kB
{ "name": "sandpack-file-explorer", "description": "A file explorer for Codesandbox's 'sandpack' code editor", "version": "0.0.7", "author": "Aaron Powell", "license": "MIT", "keywords": [ "sandpack", "react-sandpack", "sandpack-file-explorer", "react-sandpack-file-explorer", "codesandbox", "sandbox", "sandbox-file-explorer" ], "repository": { "type": "git", "url": "git+https://github.com/AaronPowell96/sandpack-file-explorer.git" }, "scripts": { "dev": "concurrently \"yarn build --watch\" \"yarn storybook\"", "build": "tsup", "type-check": "tsc --noEmit", "lint": "eslint --ignore-path .gitignore \"{src,tests}/**/*.+(ts|js|tsx)\"", "lint:fix": "yarn lint --fix && prettier --write .", "test": "jest --coverage --passWithNoTests", "test:ci": "yarn test --ci", "test:watch": "jest --watch", "prepare": "husky install", "commit": "cz", "storybook": "storybook dev -p 6006 --quiet", "build-storybook": "storybook build", "deploy-storybook": "storybook-to-ghpages --source-branch=main", "release": "yarn release-it", "remove-logs": "node remove-console-logs.js && yarn lint:fix" }, "tsup": { "entry": [ "src/index.tsx" ], "treeshake": true, "sourcemap": true, "minify": false, "clean": true, "dts": true, "splitting": false, "format": [ "cjs", "esm" ], "external": [ "react", "@codesandbox/sandpack-react" ], "noExternal": [ "@minoru/react-dnd-treeview", "react-dnd" ] }, "types": "./dist/index.d.ts", "exports": { ".": { "require": "./dist/index.js", "import": "./dist/index.mjs" } }, "files": [ "dist" ], "lint-staged": { "./{src,tests}/**/*.{ts,js,jsx,tsx}": [ "eslint --ignore-path .gitignore --fix" ], "*": "prettier --write" }, "config": { "commitizen": { "path": "./node_modules/@ryansonshine/cz-conventional-changelog" } }, "release-it": { "git": { "commitMessage": "chore(release): v${version}" }, "github": { "release": true }, "npm": { "publish": false } }, "engines": { "node": ">=14.0.0" }, "devDependencies": { "@babel/core": "7.20.5", "@codesandbox/sandpack-react": "2.10.0", "@codesandbox/sandpack-themes": "2.0.21", "@commitlint/cli": "17.3.0", "@commitlint/config-conventional": "17.3.0", "@ryansonshine/commitizen": "4.2.8", "@ryansonshine/cz-conventional-changelog": "3.3.4", "@storybook/addon-essentials": "7.0.0-beta.8", "@storybook/addon-storysource": "6.5.14", "@storybook/react": "7.0.0-beta.8", "@storybook/react-vite": "7.0.0-beta.8", "@storybook/storybook-deployer": "2.8.16", "@storybook/testing-library": "0.0.14-next.1", "@types/jest": "29.2.3", "@types/node": "18.11.10", "@types/react": "18.0.26", "@types/react-dom": "18.0.9", "@types/react-test-renderer": "18.0.0", "@typescript-eslint/eslint-plugin": "5.45.0", "@typescript-eslint/parser": "5.45.0", "babel-loader": "9.1.0", "concurrently": "7.6.0", "eslint": "8.29.0", "eslint-plugin-import": "2.26.0", "eslint-plugin-jsx-a11y": "6.6.1", "eslint-plugin-react": "7.31.11", "eslint-plugin-react-hooks": "4.6.0", "eslint-plugin-storybook": "0.6.8", "eslint-plugin-typescript-sort-keys": "2.1.0", "eslint-plugin-unused-imports": "2.0.0", "husky": "8.0.2", "jest": "29.3.1", "lint-staged": "13.0.4", "prettier": "2.8.0", "react": "18.2.0", "react-dom": "18.2.0", "react-test-renderer": "18.2.0", "release-it": "15.5.1", "storybook": "7.0.0-beta.8", "ts-jest": "29.0.3", "tsup": "6.5.0", "typescript": "4.9.3", "vite": "4.0.1" }, "peerDependencies": { "@codesandbox/sandpack-react": ">=1.18.0", "react": ">=17", "react-dom": ">=17" }, "resolutions": { "glob-parent": ">=5.1.2", "parse-path": ">5.0.0", "parse-url": ">=8.1.0", "terser": ">=5.14.2", "trim": ">=0.0.3", "trim-newlines": ">=3.0.1" }, "dependencies": { "@minoru/react-dnd-treeview": "^3.4.0", "react-dnd": "^16.0.1" } }