50 lines
1.2 KiB
JSON
50 lines
1.2 KiB
JSON
|
{
|
||
|
"private": true,
|
||
|
"name": "anastasis-webui",
|
||
|
"version": "0.0.0",
|
||
|
"license": "MIT",
|
||
|
"scripts": {
|
||
|
"build": "preact build",
|
||
|
"serve": "sirv build --port 8080 --cors --single",
|
||
|
"dev": "preact watch",
|
||
|
"lint": "eslint 'src/**/*.{js,jsx,ts,tsx}'",
|
||
|
"test": "jest ./tests"
|
||
|
},
|
||
|
"eslintConfig": {
|
||
|
"parser": "@typescript-eslint/parser",
|
||
|
"extends": [
|
||
|
"preact",
|
||
|
"plugin:@typescript-eslint/recommended"
|
||
|
],
|
||
|
"ignorePatterns": [
|
||
|
"build/"
|
||
|
]
|
||
|
},
|
||
|
"dependencies": {
|
||
|
"preact": "^10.3.1",
|
||
|
"preact-render-to-string": "^5.1.4",
|
||
|
"preact-router": "^3.2.1"
|
||
|
},
|
||
|
"devDependencies": {
|
||
|
"@types/enzyme": "^3.10.5",
|
||
|
"@types/jest": "^26.0.8",
|
||
|
"@typescript-eslint/eslint-plugin": "^2.25.0",
|
||
|
"@typescript-eslint/parser": "^2.25.0",
|
||
|
"enzyme": "^3.11.0",
|
||
|
"enzyme-adapter-preact-pure": "^3.1.0",
|
||
|
"eslint": "^6.8.0",
|
||
|
"eslint-config-preact": "^1.1.1",
|
||
|
"jest": "^26.2.2",
|
||
|
"jest-preset-preact": "^4.0.2",
|
||
|
"preact-cli": "^3.0.0",
|
||
|
"sirv-cli": "^1.0.0-next.3",
|
||
|
"typescript": "^3.7.5"
|
||
|
},
|
||
|
"jest": {
|
||
|
"preset": "jest-preset-preact",
|
||
|
"setupFiles": [
|
||
|
"<rootDir>/tests/__mocks__/browserMocks.ts",
|
||
|
"<rootDir>/tests/__mocks__/setupTests.ts"
|
||
|
]
|
||
|
}
|
||
|
}
|