diff options
author | Sebastian <sebasjm@gmail.com> | 2021-02-18 09:46:02 -0300 |
---|---|---|
committer | Sebastian <sebasjm@gmail.com> | 2021-02-18 09:46:02 -0300 |
commit | 87619712cd85272ab905d5714d5e6aedd2cb8156 (patch) | |
tree | b60511a6593f8fe47c534f1667dbe33249c226f5 /package.json | |
parent | f688008107b76d7809d56d1598aeb3355c1d13ac (diff) | |
download | merchant-backoffice-87619712cd85272ab905d5714d5e6aedd2cb8156.tar.gz merchant-backoffice-87619712cd85272ab905d5714d5e6aedd2cb8156.tar.bz2 merchant-backoffice-87619712cd85272ab905d5714d5e6aedd2cb8156.zip |
implemented pnpm
Diffstat (limited to 'package.json')
-rw-r--r-- | package.json | 84 |
1 files changed, 6 insertions, 78 deletions
diff --git a/package.json b/package.json index 9e080c7..12ef94d 100644 --- a/package.json +++ b/package.json @@ -1,83 +1,11 @@ { "private": true, - "name": "backoffice-preact", - "version": "0.0.0", - "license": "MIT", "scripts": { - "build": "preact build --no-sw --no-esm", - "serve": "sirv build --port 8080 --cors --single --no-sw --no-esm", - "dev": "preact watch --no-sw --no-esm", - "lint": "eslint 'src/**/*.{js,jsx,ts,tsx}' --fix", - "test": "jest ./tests", - "storybook": "start-storybook -p 6006" - }, - "eslintConfig": { - "parser": "@typescript-eslint/parser", - "extends": [ - "preact", - "plugin:@typescript-eslint/recommended" - ], - "ignorePatterns": [ - "build/" - ], - "rules": { - "@typescript-eslint/camelcase": [ - "off" - ] - } - }, - "dependencies": { - "axios": "^0.21.1", - "date-fns": "^2.17.0", - "preact": "^10.3.1", - "preact-i18n": "2.3.1-preactx", - "preact-router": "^3.2.1", - "swr": "^0.4.1", - "yup": "^0.32.8" - }, - "devDependencies": { - "@babel/core": "^7.12.13", - "@babel/plugin-transform-react-jsx-source": "^7.12.13", - "@creativebulma/bulma-tooltip": "^1.2.0", - "@storybook/addon-a11y": "^6.1.17", - "@storybook/addon-actions": "^6.1.16", - "@storybook/addon-essentials": "^6.1.16", - "@storybook/addon-links": "^6.1.16", - "@storybook/preact": "^6.1.16", - "@storybook/preset-scss": "^1.0.3", - "@testing-library/preact": "^2.0.1", - "@testing-library/preact-hooks": "^1.1.0", - "@types/enzyme": "^3.10.5", - "@types/jest": "^26.0.8", - "@types/preact-i18n": "^2.3.0", - "@typescript-eslint/eslint-plugin": "^2.25.0", - "@typescript-eslint/parser": "^2.25.0", - "babel-loader": "^8.2.2", - "bulma": "^0.9.2", - "bulma-checkbox": "^1.1.1", - "bulma-radio": "^1.1.1", - "bulma-responsive-tables": "^1.2.3", - "bulma-switch-control": "^1.1.1", - "bulma-upload-control": "^1.2.0", - "dotenv": "^8.2.0", - "enzyme": "^3.11.0", - "enzyme-adapter-preact-pure": "^2.2.0", - "eslint": "^6.8.0", - "eslint-config-preact": "^1.1.1", - "jest": "^26.2.2", - "jest-preset-preact": "^4.0.2", - "node-sass": "^5.0.0", - "preact-cli": "^3.0.0", - "preact-render-to-string": "^5.1.4", - "sass-loader": "^10.1.1", - "sirv-cli": "^1.0.0-next.3", - "typescript": "^4.1.3" - }, - "jest": { - "preset": "jest-preset-preact", - "setupFiles": [ - "<rootDir>/tests/__mocks__/browserMocks.ts", - "<rootDir>/tests/__mocks__/setupTests.ts" - ] + "clean": "pnpm run --filter '{packages}' clean", + "compile": "pnpm run --filter '{packages}' compile", + "lint": "pnpm run --filter '{packages}' lint", + "typedoc": "pnpm run --filter '{packages}' typedoc", + "pretty": "pnpm run --filter '{packages}' pretty", + "check": "pnpm run --filter '{packages}' --if-present test" } } |