package.json
{
"name": "@10xjs/form",
"version": "0.1.7",
"scripts": {
"build:clean": "npx rimraf lib module types umd",
"build": "npm run build:clean && npx rollup -c rollup.config.js",
"format": "npx prettier --write '{,!(coverage)/**/}{*.{js,tsx,html,md,yml},!(package-lock).json}'",
"prepublishOnly": "npm run test && npm run build",
"test": "npm run test:types --slient && npm run test:lint --slient && npm run test:spec --silent",
"test:lint": "npx eslint . --ext .ts,.tsx,.js,.jsx",
"test:spec": "npx jest --runInBand=${SPEC_SERIAL:-$CI} --coverage=${SPEC_COVERAGE:-$CI}",
"test:spec-watch": "npm run test:spec -- --watch",
"test:types": "npx tsc --noEmit",
"prepack": "node -e \"require('./package.json').files.map((file) => require('fs').statSync(require('path').join(process.cwd(), file)))\""
},
"author": "Neal Granger <neal@nealg.com>",
"license": "MIT",
"main": "./lib/index.js",
"module": "./module/index.js",
"types": "./types/index.d.js",
"sideEffects": false,
"files": [
"lib",
"module",
"types",
"umd"
],
"repository": {
"type": "git",
"url": "https://github.com/10xjs/form.git"
},
"dependencies": {
"es6-error": "4.1.1"
},
"peerDependencies": {
"react": ">=16.8.0"
},
"devDependencies": {
"@testing-library/jest-dom": "4.1.0",
"@testing-library/react": "9.1.4",
"@types/jest": "24.0.18",
"@types/react": "16.9.2",
"@typescript-eslint/eslint-plugin": "2.2.0",
"@typescript-eslint/parser": "2.2.0",
"eslint": "6.3.0",
"eslint-plugin-jest": "22.17.0",
"eslint-plugin-prettier": "3.1.0",
"eslint-plugin-react": "7.14.3",
"jest": "24.9.0",
"jest-circus": "24.9.0",
"prettier": "1.18.2",
"react": "16.9.0",
"react-dom": "16.9.0",
"rimraf": "3.0.0",
"rollup": "1.21.2",
"rollup-plugin-commonjs": "10.1.0",
"rollup-plugin-node-resolve": "5.2.0",
"rollup-plugin-terser": "5.1.1",
"rollup-plugin-typescript": "1.0.1",
"rollup-plugin-typescript2": "0.24.1",
"ts-jest": "24.0.2",
"typescript": "3.6.2"
},
"jest": {
"testURL": "http://localhost/",
"testMatch": [
"<rootDir>/src/**/__test__/**/*.test.ts?(x)"
],
"setupFilesAfterEnv": [
"<rootDir>/jestSetup.tsx"
],
"coveragePathIgnorePatterns": [
"<rootDir>/src/test/"
],
"transform": {
"^.+\\.tsx?$": "ts-jest"
},
"globals": {
"ts-jest": {
"diagnostics": false
}
}
}
}