@hypothesis/frontend-shared
Version:
Shared components, styles and utilities for Hypothesis projects
98 lines (97 loc) • 3.06 kB
JSON
{
"name": "@hypothesis/frontend-shared",
"version": "9.4.0",
"description": "Shared components, styles and utilities for Hypothesis projects",
"license": "BSD-2-Clause",
"repository": "hypothesis/frontend-shared",
"devDependencies": {
"@babel/cli": "^7.1.6",
"@babel/core": "^7.1.6",
"@babel/preset-env": "^7.1.6",
"@babel/preset-react": "^7.0.0",
"@babel/preset-typescript": "^7.18.6",
"@hypothesis/frontend-build": "^3.2.1",
"@hypothesis/frontend-testing": "^1.6.0",
"@rollup/plugin-babel": "^6.0.0",
"@rollup/plugin-commonjs": "^28.0.0",
"@rollup/plugin-dynamic-import-vars": "^2.1.2",
"@rollup/plugin-node-resolve": "^16.0.0",
"@rollup/plugin-terser": "^0.4.4",
"@rollup/plugin-virtual": "^3.0.0",
"@trivago/prettier-plugin-sort-imports": "^5.2.0",
"@vitest/browser": "^3.1.1",
"@vitest/coverage-istanbul": "^3.1.1",
"autoprefixer": "^10.3.7",
"axe-core": "^4.0.0",
"babel-plugin-istanbul": "^7.0.0",
"babel-plugin-mockable-imports": "^2.0.1",
"chai": "^5.0.0",
"chalk": "^5.0.1",
"classnames": "^2.2.6",
"enzyme": "^3.8.0",
"enzyme-adapter-preact-pure": "^4.0.1",
"eslint": "^9.12.0",
"eslint-config-hypothesis": "^3.1.0",
"eslint-plugin-jsx-a11y": "^6.10.0",
"eslint-plugin-mocha": "^10.5.0",
"eslint-plugin-react": "^7.37.1",
"eslint-plugin-react-hooks": "^5.0.0",
"express": "^5.1.0",
"fancy-log": "^2.0.0",
"globals": "^16.0.0",
"gulp": "^5.0.0",
"mustache": "^4.2.0",
"playwright": "^1.51.1",
"postcss": "^8.3.9",
"preact": "^10.25.1",
"prettier": "^3.0.0",
"rollup": "^4.0.2",
"rollup-plugin-string": "^3.0.0",
"sass": "^1.43.2",
"sinon": "^20.0.0",
"svgo": "^3.0.0",
"tailwindcss": "3.4.17",
"typescript": "^5.0.2",
"typescript-eslint": "^8.10.0",
"vitest": "^3.1.1",
"yalc": "^1.0.0-pre.50"
},
"peerDependencies": {
"preact": "^10.25.1"
},
"scripts": {
"build-lib": "babel src/ --out-dir lib/ --extensions '.js,.ts,.tsx' --source-maps --ignore '**/test'",
"build": "yarn build-lib && tsc --build src/tsconfig.json",
"build-pattern-lib": "yarn gulp bundle-css && yarn rollup -c rollup.config.js",
"typecheck": "tsc --build src/tsconfig.json",
"lint": "eslint --cache .",
"checkformatting": "prettier --cache --check '**/*.{js,scss,ts,tsx,md}'",
"format": "prettier --cache --list-different --write '**/*.{js,scss,ts,tsx,md}'",
"test": "gulp test",
"push": "yarn build && yalc push"
},
"prettier": {
"arrowParens": "avoid",
"singleQuote": true,
"importOrder": [
"^[./]"
],
"importOrderSeparation": true,
"plugins": [
"@trivago/prettier-plugin-sort-imports"
]
},
"files": [
"lib",
"styles",
"images"
],
"type": "module",
"main": "./lib/index.js",
"browserslist": "chrome 70, firefox 70, safari 11.1",
"dependencies": {
"highlight.js": "^11.6.0",
"wouter-preact": "^3.0.0"
},
"packageManager": "yarn@3.6.0"
}