mirror of
https://github.com/jspsych/jsPsych.git
synced 2025-05-10 11:10:54 +00:00
63 lines
1.5 KiB
JSON
63 lines
1.5 KiB
JSON
{
|
|
"private": true,
|
|
"type": "module",
|
|
"workspaces": [
|
|
"packages/*"
|
|
],
|
|
"scripts": {
|
|
"test": "jest",
|
|
"test:watch": "npm test -- --watch",
|
|
"build": "npm run build -ws",
|
|
"build:archive": "gulp createDistArchive",
|
|
"prepare": "husky install && npm run build",
|
|
"tsc": "npm run tsc -ws"
|
|
},
|
|
"devDependencies": {
|
|
"@babel/core": "^7.14.6",
|
|
"@babel/preset-env": "^7.14.7",
|
|
"@rollup/plugin-babel": "^5.3.0",
|
|
"@rollup/plugin-commonjs": "^19.0.0",
|
|
"@rollup/plugin-json": "^4.1.0",
|
|
"@rollup/plugin-node-resolve": "^13.0.0",
|
|
"@types/gulp": "^4.0.9",
|
|
"@types/jest": "^26.0.23",
|
|
"canvas": "^2.8.0",
|
|
"gulp": "^4.0.2",
|
|
"gulp-cli": "^2.3.0",
|
|
"gulp-rename": "^2.0.0",
|
|
"gulp-replace": "^1.1.3",
|
|
"gulp-zip": "^5.1.0",
|
|
"husky": "^7.0.1",
|
|
"import-sort-style-module": "^6.0.0",
|
|
"jest": "^27.0.6",
|
|
"jest-environment-jsdom": "^27.0.6",
|
|
"lint-staged": "^11.1.2",
|
|
"merge-stream": "^2.0.0",
|
|
"prettier": "^2.3.2",
|
|
"prettier-plugin-import-sort": "^0.0.7",
|
|
"rollup": "^2.52.7",
|
|
"rollup-plugin-terser": "^7.0.2",
|
|
"rollup-plugin-typescript2": "^0.30.0",
|
|
"ts-jest": "^27.0.3",
|
|
"tslib": "^2.3.0",
|
|
"typescript": "^4.3.5"
|
|
},
|
|
"prettier": {
|
|
"printWidth": 100
|
|
},
|
|
"importSort": {
|
|
".ts, .js, .mjs, .cjs": {
|
|
"style": "module",
|
|
"parser": "typescript"
|
|
}
|
|
},
|
|
"lint-staged": {
|
|
"*.{ts,js,mjs,cjs}": "prettier --write"
|
|
},
|
|
"jest": {
|
|
"projects": [
|
|
"<rootDir>/packages/*"
|
|
]
|
|
}
|
|
}
|