## What Harmonize and clean-up yarn test commands convention. ## Why Current strategy to filter integration tests from unit tests was cumbersome to maintain. Also, some packages declared `test:unit` which ended up being an alias to `test`. ## How * Remove all occurrences of `test:unit` * Rename all `test` commands under `/integration-tests/**/package.json` to `test:integration` * In the root `package.json`, rewrite `test:integration` command to run `turbo run test:integration` * In the root `package.json`, remove filtering on the `test` command * Introduce a new `test:integration` task in the Turborepo config.
39 lines
854 B
JSON
39 lines
854 B
JSON
{
|
|
"name": "@medusajs/modules-sdk",
|
|
"version": "0.1.0-rc.4",
|
|
"description": "SDK for medusa modules",
|
|
"main": "dist/index.js",
|
|
"repository": {
|
|
"type": "git",
|
|
"url": "https://github.com/medusajs/medusa",
|
|
"directory": "packages/modules-sdk"
|
|
},
|
|
"publishConfig": {
|
|
"access": "public"
|
|
},
|
|
"files": [
|
|
"dist"
|
|
],
|
|
"author": "Medusa",
|
|
"license": "MIT",
|
|
"devDependencies": {
|
|
"cross-env": "^5.2.1",
|
|
"jest": "^25.5.4",
|
|
"ts-jest": "^25.5.1",
|
|
"typescript": "^4.4.4"
|
|
},
|
|
"dependencies": {
|
|
"@medusajs/types": "0.0.2-rc.1",
|
|
"@medusajs/utils": "0.0.2-rc.2",
|
|
"awilix": "^8.0.0",
|
|
"glob": "7.1.6",
|
|
"medusa-telemetry": "^0.0.16",
|
|
"resolve-cwd": "^3.0.0"
|
|
},
|
|
"scripts": {
|
|
"prepare": "cross-env NODE_ENV=production yarn run build",
|
|
"build": "tsc --build",
|
|
"test": "jest"
|
|
}
|
|
}
|