jsPsych/package.json
bjoluc 744e67b0a5 Setup monorepo and switch to ES6 modules
* Convert jsPsych and plugins to ES6 modules
* Create packages for each plugin, the core library, and config files
* Setup rollup, jest, and babel configurations
* Update jsPsych to load plugin objects directly from the `type` field
* Update tests to use the ES6 modules
2021-06-23 22:39:38 +02:00

35 lines
771 B
JSON

{
"private": true,
"workspaces": [
"packages/*"
],
"scripts": {
"test": "CI=true npm test -ws",
"build": "npm run build -ws",
"watch": "npm run watch -ws",
"prepare": "npm run build"
},
"devDependencies": {
"@babel/core": "^7.14.6",
"@babel/preset-env": "^7.14.7",
"@rollup/plugin-babel": "^5.3.0",
"@rollup/plugin-node-resolve": "^13.0.0",
"canvas": "^2.8.0",
"import-sort-style-module": "^6.0.0",
"jest": "^27.0",
"jest-environment-jsdom": "^27.0.3",
"prettier": "^2.3.1",
"prettier-plugin-import-sort": "^0.0.7",
"rollup": "^2.52.2",
"rollup-plugin-terser": "^7.0.2"
},
"prettier": {
"printWidth": 100
},
"importSort": {
".js, .mjs": {
"style": "module"
}
}
}