1
Fork 0
solar-conflux/typescript/loopover-leaderboards/package.json

101 lines
2.6 KiB
JSON
Raw Normal View History

{
"private": true,
"name": "loopoverleaderboards",
"version": "0.0.0",
"license": "MIT",
"scripts": {
"start": "per-env",
"start:production": "npm run -s serve",
"start:development": "npm run -s dev",
"build": "preact build",
"serve": "preact build && preact serve",
"dev": "preact watch",
"lint": "tslint --project src",
"test": "jest ./tests",
"precommit": "lint-staged"
},
"lint-staged": {
"*.{js,jsx,css,md,scss}": [
"prettier --write",
"git add"
],
"*.{ts,tsx}": [
"tslint --fix",
"git add"
]
},
"eslintConfig": {
"extends": "eslint-config-aerian"
},
"eslintIgnore": [
"build/*"
],
"devDependencies": {
"@types/jest": "^23.3.10",
"@types/webpack-env": "^1.13.9",
"css-loader": "^1.0.1",
"husky": "^1.2.0",
"identity-obj-proxy": "^3.0.0",
"jest": "^23.6.0",
"lint-staged": "^8.1.0",
"per-env": "^1.0.2",
"preact-cli": "^3.0.0-next.19",
"preact-render-spy": "^1.3.0",
"prettier": "^1.15.3",
"ts-jest": "^23.10.5",
"ts-loader": "^3.5.0",
"tslint": "^5.11.0",
"tslint-config-prettier": "^1.17.0",
"tslint-consistent-codestyle": "^1.14.1",
"tslint-eslint-rules": "^5.4.0",
"tslint-react": "^3.6.0",
"typescript": "^3.2.1",
"typings-for-css-modules-loader": "^1.7.0"
},
"dependencies": {
"jsxstyle": "^2.2.0",
"preact": "^10.0.0",
"preact-jsx-chai": "^3.0.0",
"preact-markup": "^2.0.0",
"preact-render-to-string": "^5.0.6",
"preact-router": "^3.0.1"
},
"peerDependencies": {
"prettier": ">1.0.0",
"tslint": ">5.0.0"
},
"jest": {
"transform": {
"^.+\\.tsx?$": "ts-jest"
},
"verbose": true,
"setupFiles": [
"<rootDir>/src/tests/__mocks__/browserMocks.js"
],
"testURL": "http://localhost:8080",
"moduleFileExtensions": [
"js",
"jsx",
"ts",
"tsx"
],
"moduleDirectories": [
"node_modules"
],
"testMatch": [
"**/__tests__/**/*.[jt]s?(x)",
"**/?(*.)(spec|test).[jt]s?(x)"
],
"moduleNameMapper": {
"\\.(jpg|jpeg|png|gif|eot|otf|webp|svg|ttf|woff|woff2|mp4|webm|wav|mp3|m4a|aac|oga)$": "<rootDir>/src/tests/__mocks__/fileMock.js",
"\\.(css|less|scss)$": "identity-obj-proxy",
"^./style$": "identity-obj-proxy",
"^preact$": "<rootDir>/node_modules/preact/dist/preact.min.js",
"^react$": "preact-compat",
"^react-dom$": "preact-compat",
"^create-react-class$": "preact-compat/lib/create-react-class",
"^react-addons-css-transition-group$": "preact-css-transition-group"
}
}
}