mirror of
https://github.com/jspsych/jsPsych.git
synced 2025-05-10 11:10:54 +00:00
68 lines
1.5 KiB
JSON
68 lines
1.5 KiB
JSON
{
|
|
"private": true,
|
|
"type": "module",
|
|
"workspaces": [
|
|
"packages/*"
|
|
],
|
|
"scripts": {
|
|
"test": "jest",
|
|
"test:watch": "npm test -- --watch",
|
|
"build": "turbo run build",
|
|
"build:archive": "gulp createCoreDistArchive",
|
|
"update-unpkg-links": "gulp updateUnpkgLinks",
|
|
"prepare": "node -e 'process.exit(!process.env.CI)' || (husky install && npm run build)",
|
|
"tsc": "turbo tsc",
|
|
"changeset": "changeset",
|
|
"changeset:version": "changeset version && npm install && npm run update-unpkg-links",
|
|
"changeset:publish": "npm run build && 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",
|
|
"turbo": "^1.0.6"
|
|
},
|
|
"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"
|
|
]
|
|
},
|
|
"turbo": {
|
|
"baseBranch": "origin/main",
|
|
"npmClient": "npm",
|
|
"pipeline": {
|
|
"build": {
|
|
"dependsOn": [
|
|
"^build"
|
|
],
|
|
"outputs": [
|
|
"dist/**"
|
|
]
|
|
},
|
|
"tsc": {
|
|
"outputs": []
|
|
}
|
|
}
|
|
}
|
|
}
|