111 lines
4.9 KiB
JSON
111 lines
4.9 KiB
JSON
{
|
|
"name": "tabster",
|
|
"version": "8.0.1",
|
|
"description": "Focus Management Tools for Web",
|
|
"author": "Marat Abdullin <marata@microsoft.com>",
|
|
"license": "MIT",
|
|
"sideEffects": false,
|
|
"main": "./dist/index.js",
|
|
"module": "./dist/tabster.esm.js",
|
|
"typings": "./dist/index.d.ts",
|
|
"files": [
|
|
"dist"
|
|
],
|
|
"repository": {
|
|
"type": "git",
|
|
"url": "git+https://github.com/microsoft/tabster"
|
|
},
|
|
"scripts": {
|
|
"build": "npm run clean && npm run build-bundle && npm run build-storybook",
|
|
"build-bundle": "rollup -c",
|
|
"build-docs": "cd docs && npm install && npm run build",
|
|
"build-storybook": "build-storybook",
|
|
"bundle-size": "npm run build-bundle && bundle-size measure",
|
|
"clean": "rimraf dist",
|
|
"format": "prettier --write .",
|
|
"format:check": "prettier --check .",
|
|
"lint": "eslint src/ --fix",
|
|
"lint:check": "eslint src/",
|
|
"test": "node tests/utils/runner.js",
|
|
"test:uncontrolled": "STORYBOOK_UNCONTROLLED=true npm test",
|
|
"test:root-dummy-inputs": "STORYBOOK_UNCONTROLLED=true STORYBOOK_ROOT_DUMMY_INPUTS=true npm test",
|
|
"test:shadowdom": "SHADOWDOM=true npm test",
|
|
"test:shadowdom:uncontrolled": "SHADOWDOM=true STORYBOOK_UNCONTROLLED=true npm test",
|
|
"test:shadowdom:root-dummy-inputs": "SHADOWDOM=true STORYBOOK_UNCONTROLLED=true STORYBOOK_ROOT_DUMMY_INPUTS=true npm test",
|
|
"test:all": "npm run test && npm run test:uncontrolled && npm run test:root-dummy-inputs && npm run test:shadowdom && npm run test:shadowdom:uncontrolled && npm run test:shadowdom:root-dummy-inputs",
|
|
"prepublishOnly": "npm run build",
|
|
"release": "release-it",
|
|
"serve": "npx http-serve storybook-static",
|
|
"serve-docs": "cd docs && npm run serve",
|
|
"start": "npm run storybook",
|
|
"start-docs": "cd docs && npm run start",
|
|
"start:uncontrolled": "STORYBOOK_UNCONTROLLED=true npm run storybook",
|
|
"start:root-dummy-inputs": "STORYBOOK_UNCONTROLLED=true STORYBOOK_ROOT_DUMMY_INPUTS=true npm run storybook",
|
|
"storybook": "start-storybook -p 8080",
|
|
"type-check": "npm run type-check:lib && npm run type-check:tests && npm run type-check:stories",
|
|
"type-check:lib": "tsc -b src/tsconfig.lib.json",
|
|
"type-check:tests": "tsc -b tests/tsconfig.spec.json",
|
|
"type-check:stories": "tsc -b stories/tsconfig.stories.json",
|
|
"prepare-pages-deploy": "rimraf ./.pages-deploy && npm run build-docs && npm run build-storybook && copyfiles -u 2 -a \"./docs/build/**/*\" ./.pages-deploy && copyfiles -u 1 -a \"./storybook-static/**/*\" ./.pages-deploy/storybook"
|
|
},
|
|
"dependencies": {
|
|
"keyborg": "2.6.0",
|
|
"tslib": "^2.3.1"
|
|
},
|
|
"devDependencies": {
|
|
"@babel/core": "^7.17.4",
|
|
"@babel/plugin-proposal-class-properties": "^7.16.7",
|
|
"@babel/plugin-transform-react-jsx": "^7.17.3",
|
|
"@babel/plugin-transform-typescript": "^7.16.8",
|
|
"@babel/preset-env": "^7.16.11",
|
|
"@babel/preset-react": "^7.16.7",
|
|
"@babel/preset-typescript": "^7.16.7",
|
|
"@fluentui/bundle-size": "^1.1.4",
|
|
"@rollup/plugin-babel": "^5.3.0",
|
|
"@rollup/plugin-commonjs": "^21.0.1",
|
|
"@rollup/plugin-json": "^4.1.0",
|
|
"@rollup/plugin-node-resolve": "^13.1.3",
|
|
"@rollup/plugin-replace": "^3.1.0",
|
|
"@storybook/addon-actions": "^6.4.19",
|
|
"@storybook/addon-essentials": "^6.4.19",
|
|
"@storybook/addon-links": "^6.4.19",
|
|
"@storybook/builder-webpack5": "^6.4.19",
|
|
"@storybook/html": "^6.4.19",
|
|
"@storybook/manager-webpack5": "^6.4.19",
|
|
"@types/expect-puppeteer": "^4.4.7",
|
|
"@types/jest": "^27.4.0",
|
|
"@types/jest-environment-puppeteer": "^5.0.0",
|
|
"@types/puppeteer": "^5.4.4",
|
|
"@types/react": "^17.0.39",
|
|
"@types/react-dom": "^17.0.0",
|
|
"@typescript-eslint/eslint-plugin": "^5.47.0",
|
|
"@typescript-eslint/parser": "^5.47.0",
|
|
"auto-changelog": "^2.4.0",
|
|
"babel-jest": "^27.5.1",
|
|
"babel-loader": "^8.2.3",
|
|
"babel-plugin-annotate-pure-calls": "^0.4.0",
|
|
"copyfiles": "^2.4.1",
|
|
"eslint": "^8.30.0",
|
|
"eslint-config-prettier": "^8.5.0",
|
|
"eslint-plugin-header": "^3.1.1",
|
|
"eslint-plugin-import": "^2.26.0",
|
|
"jest": "^27.5.1",
|
|
"jest-puppeteer": "^6.1.0",
|
|
"prettier": "^2.5.1",
|
|
"puppeteer": "^21.4.1",
|
|
"react": "^17.0.0",
|
|
"react-dom": "^17.0.0",
|
|
"release-it": "^15.4.1",
|
|
"rimraf": "^3.0.2",
|
|
"rollup": "^2.67.2",
|
|
"rollup-plugin-dts": "^4.2.0",
|
|
"rollup-plugin-sourcemaps": "^0.6.3",
|
|
"rollup-plugin-typescript2": "^0.31.2",
|
|
"strip-ansi": "^7.0.1",
|
|
"tree-kill": "^1.2.2",
|
|
"tsconfig-paths-webpack-plugin": "^3.5.2",
|
|
"typescript": "^4.9.4",
|
|
"vite": "^2.9.12"
|
|
}
|
|
}
|