jsPsych/package.json
bjoluc 6aad6315df Fix project detection in root Jest config
Prior to this, empty directories in `packages` would have hindered Jest
from transforming some files, resulting in "unexpected token" errors
2021-10-08 13:27:47 +02:00

48 lines
1.0 KiB
JSON

{
"private": true,
"type": "module",
"workspaces": [
"packages/*"
],
"scripts": {
"test": "jest",
"test:watch": "npm test -- --watch",
"build": "npm run build -w jspsych && npm run build -ws",
"build:archive": "gulp createCoreDistArchive",
"prepare": "husky install && npm run build",
"tsc": "npm run tsc -ws",
"changeset": "changeset",
"release": "changeset publish"
},
"engines": {
"node": ">=14.0.0",
"npm": ">=7.0.0"
},
"devDependencies": {
"@changesets/changelog-github": "^0.4.1",
"@changesets/cli": "^2.17.0",
"husky": "^7.0.1",
"import-sort-style-module": "^6.0.0",
"lint-staged": "^11.1.2",
"prettier": "^2.3.2",
"prettier-plugin-import-sort": "^0.0.7"
},
"prettier": {
"printWidth": 100
},
"importSort": {
".ts, .js, .mjs, .cjs": {
"style": "module",
"parser": "typescript"
}
},
"lint-staged": {
"*.{ts,js,mjs,cjs}": "prettier --write"
},
"jest": {
"projects": [
"<rootDir>/packages/*/jest.config.cjs"
]
}
}