Changeset View
Changeset View
Standalone View
Standalone View
web/cashtab/package.json
Show First 20 Lines • Show All 103 Lines • ▼ Show 20 Lines | "scripts": { | ||||
"prepare-fbts": "NODE_ENV=production npm run manifest-fbts && npm run collect-fbts && npm run fbt-generate-translations && npm run translate-fbts", | "prepare-fbts": "NODE_ENV=production npm run manifest-fbts && npm run collect-fbts && npm run fbt-generate-translations && npm run translate-fbts", | ||||
"prestart": "npm run prepare-fbts", | "prestart": "npm run prepare-fbts", | ||||
"prebuild": "npm run prepare-fbts", | "prebuild": "npm run prepare-fbts", | ||||
"start": "node scripts/start.js", | "start": "node scripts/start.js", | ||||
"build": "node scripts/build.js", | "build": "node scripts/build.js", | ||||
"extension": "./scripts/extension.sh", | "extension": "./scripts/extension.sh", | ||||
"predeploy": "npm run build", | "predeploy": "npm run build", | ||||
"test": "node scripts/test.js", | "test": "node scripts/test.js", | ||||
"test:coverage": "npm run test --coverage --watchAll=false", | "test:coverage": "CI=true npm run test --coverage", | ||||
"debug": "node --inspect-brk=9229 scripts/start.js" | "debug": "node --inspect-brk=9229 scripts/start.js" | ||||
}, | }, | ||||
"eslintConfig": { | "eslintConfig": { | ||||
"extends": "react-app" | "extends": "react-app" | ||||
}, | }, | ||||
"browserslist": { | "browserslist": { | ||||
"production": [ | "production": [ | ||||
">0.2%", | ">0.2%", | ||||
Show All 20 Lines | "jest": { | ||||
"functions": 15, | "functions": 15, | ||||
"lines": 15, | "lines": 15, | ||||
"statements": 15 | "statements": 15 | ||||
} | } | ||||
}, | }, | ||||
"setupFiles": [ | "setupFiles": [ | ||||
"react-app-polyfill/jsdom" | "react-app-polyfill/jsdom" | ||||
], | ], | ||||
"setupFilesAfterEnv": [], | "setupFilesAfterEnv": [ | ||||
"<rootDir>/scripts/testSetup.js" | |||||
], | |||||
"testMatch": [ | "testMatch": [ | ||||
"<rootDir>/src/**/__tests__/**/*.{js,jsx,ts,tsx}", | "<rootDir>/src/**/__tests__/**/*.{js,jsx,ts,tsx}", | ||||
"<rootDir>/src/**/*.{spec,test}.{js,jsx,ts,tsx}" | "<rootDir>/src/**/*.{spec,test}.{js,jsx,ts,tsx}" | ||||
], | ], | ||||
"testEnvironment": "jest-environment-jsdom-fourteen", | "testEnvironment": "jest-environment-jsdom-fourteen", | ||||
"transform": { | "transform": { | ||||
"^.+\\.(js|jsx|ts|tsx)$": "<rootDir>/node_modules/babel-jest", | "^.+\\.(js|jsx|ts|tsx)$": "<rootDir>/node_modules/babel-jest", | ||||
"^.+\\.css$": "<rootDir>/config/jest/cssTransform.js", | "^.+\\.css$": "<rootDir>/config/jest/cssTransform.js", | ||||
▲ Show 20 Lines • Show All 46 Lines • Show Last 20 Lines |