UNPKG

@typescript-tea/core

Version:

The Elm Architecture for typescript

80 lines (79 loc) 2.29 kB
{ "name": "@typescript-tea/core", "version": "0.6.0", "description": "The Elm Architecture for typescript", "main": "dist/core.js", "module": "dist/core.m.js", "types": "dist/index.d.ts", "author": "Jonas Kello <jonas.kello@gmail.com>", "license": "MIT", "repository": "github:typescript-tea/core", "homepage": "https://typescript-tea.github.io/core", "publishConfig": { "access": "public" }, "keywords": [ "Elm", "Architecture", "The Elm Architecture", "TEA" ], "files": [ "/src", "/dist", "package.json", "CHANGELOG.md", "LICENSE", "README.md" ], "devDependencies": { "@types/jest": "^26.0.15", "@typescript-eslint/eslint-plugin": "^4.5.0", "@typescript-eslint/parser": "^4.5.0", "confusing-browser-globals": "^1.0.9", "eslint": "^7.11.0", "eslint-config-divid": "^0.5.1", "eslint-plugin-functional": "^3.1.0", "eslint-plugin-import": "^2.22.1", "husky": "^4.2.1", "jest": "^26.6.0", "lint-staged": "^10.0.2", "microbundle": "^0.12.0-next.8", "prettier": "^2.3.0", "rimraf": "^3.0.0", "ts-jest": "^26.4.1", "typedoc": "^0.19.2", "typescript": "^4.0.3" }, "scripts": { "build": "tsc -b", "clean": "tsc -b --clean && rimraf lib && rimraf dist", "test": "jest", "test-coverage": "jest --coverage", "test:work": "jest src/__tests__/program.test.ts", "lint": "eslint './src/**/*.ts{,x}' --ext .js,.ts,.tsx -f visualstudio", "dist": "yarn build && rimraf dist && microbundle src/index.ts", "verify": "yarn lint && yarn test-coverage && yarn dist", "report-coverage": "codecov -f coverage/lcov.info", "docs": "typedoc && touch docs/.nojekyll", "preversion": "yarn verify && yarn docs", "postversion": "git push --tags && yarn publish --new-version $npm_package_version && git push --follow-tags && echo \"Successfully released version $npm_package_version!\"" }, "lint-staged": { "*.{ts,tsx}": "eslint --ext .ts -f visualstudio", "*.{ts,tsx,json,css}": [ "prettier --write", "git add" ] }, "husky": { "hooks": { "pre-commit": "lint-staged" } }, "prettier": { "printWidth": 120, "trailingComma": "es5", "arrowParens": "always" } }