|
@@ -4,36 +4,85 @@
|
|
"description": "A starter for Medusa projects.",
|
|
"description": "A starter for Medusa projects.",
|
|
"author": "Sebastian Rindom <skrindom@gmail.com>",
|
|
"author": "Sebastian Rindom <skrindom@gmail.com>",
|
|
"license": "MIT",
|
|
"license": "MIT",
|
|
|
|
+ "keywords": [
|
|
|
|
+ "sqlite",
|
|
|
|
+ "postgres",
|
|
|
|
+ "typescript",
|
|
|
|
+ "ecommerce",
|
|
|
|
+ "headless",
|
|
|
|
+ "medusa"
|
|
|
|
+ ],
|
|
"scripts": {
|
|
"scripts": {
|
|
|
|
+ "clean": "./node_modules/.bin/rimraf dist",
|
|
|
|
+ "build": "yarn run clean && tsc -p tsconfig.json",
|
|
|
|
+ "watch": "tsc --watch",
|
|
|
|
+ "test": "jest",
|
|
"seed": "medusa seed -f ./data/seed.json",
|
|
"seed": "medusa seed -f ./data/seed.json",
|
|
- "build": "babel src -d dist --extensions \".ts,.js\"",
|
|
|
|
- "start": "medusa develop",
|
|
|
|
|
|
+ "start": "yarn build && medusa start",
|
|
"build:admin": "medusa-admin build"
|
|
"build:admin": "medusa-admin build"
|
|
},
|
|
},
|
|
"dependencies": {
|
|
"dependencies": {
|
|
|
|
+ "@babel/preset-typescript": "^7.21.4",
|
|
"@medusajs/admin": "rc",
|
|
"@medusajs/admin": "rc",
|
|
- "@medusajs/cache-inmemory": "rc",
|
|
|
|
- "@medusajs/event-bus-local": "rc",
|
|
|
|
|
|
+ "@medusajs/cache-inmemory": "^1.1.0-ci-issue-20230322190222",
|
|
|
|
+ "@medusajs/cache-redis": "rc",
|
|
|
|
+ "@medusajs/event-bus-local": "^1.8.0-rc.1",
|
|
|
|
+ "@medusajs/event-bus-redis": "rc",
|
|
"@medusajs/medusa": "rc",
|
|
"@medusajs/medusa": "rc",
|
|
"@medusajs/medusa-cli": "rc",
|
|
"@medusajs/medusa-cli": "rc",
|
|
"@medusajs/modules-sdk": "rc",
|
|
"@medusajs/modules-sdk": "rc",
|
|
|
|
+ "@medusajs/types": "^0.0.2-rc.0",
|
|
|
|
+ "@medusajs/utils": "^0.0.2-rc.0",
|
|
|
|
+ "babel-preset-medusa-package": "^1.1.13",
|
|
|
|
+ "body-parser": "^1.19.0",
|
|
|
|
+ "cors": "^2.8.5",
|
|
|
|
+ "express": "^4.17.2",
|
|
"medusa-fulfillment-manual": "rc",
|
|
"medusa-fulfillment-manual": "rc",
|
|
"medusa-interfaces": "rc",
|
|
"medusa-interfaces": "rc",
|
|
"medusa-payment-manual": "rc",
|
|
"medusa-payment-manual": "rc",
|
|
"medusa-payment-stripe": "rc",
|
|
"medusa-payment-stripe": "rc",
|
|
"typeorm": "^0.3.11"
|
|
"typeorm": "^0.3.11"
|
|
},
|
|
},
|
|
- "repository": "https://github.com/medusajs/medusa-starter-default.git",
|
|
|
|
- "keywords": [
|
|
|
|
- "sqlite",
|
|
|
|
- "ecommerce",
|
|
|
|
- "headless",
|
|
|
|
- "medusa"
|
|
|
|
- ],
|
|
|
|
"devDependencies": {
|
|
"devDependencies": {
|
|
- "@babel/cli": "^7.18.10",
|
|
|
|
- "@babel/core": "^7.18.10",
|
|
|
|
- "@babel/preset-typescript": "^7.14.5",
|
|
|
|
- "babel-preset-medusa-package": "^1.1.19"
|
|
|
|
|
|
+ "@babel/cli": "^7.14.3",
|
|
|
|
+ "@babel/core": "^7.14.3",
|
|
|
|
+ "@types/express": "^4.17.13",
|
|
|
|
+ "@types/jest": "^27.4.0",
|
|
|
|
+ "@types/node": "^17.0.8",
|
|
|
|
+ "babel-preset-medusa-package": "^1.1.13",
|
|
|
|
+ "cross-env": "^5.2.1",
|
|
|
|
+ "eslint": "^6.8.0",
|
|
|
|
+ "jest": "^27.3.1",
|
|
|
|
+ "mongoose": "^5.13.14",
|
|
|
|
+ "rimraf": "^3.0.2",
|
|
|
|
+ "ts-jest": "^27.0.7",
|
|
|
|
+ "ts-loader": "^9.2.6",
|
|
|
|
+ "typescript": "^4.5.2"
|
|
|
|
+ },
|
|
|
|
+ "jest": {
|
|
|
|
+ "globals": {
|
|
|
|
+ "ts-jest": {
|
|
|
|
+ "tsconfig": "tsconfig.spec.json"
|
|
|
|
+ }
|
|
|
|
+ },
|
|
|
|
+ "moduleFileExtensions": [
|
|
|
|
+ "js",
|
|
|
|
+ "json",
|
|
|
|
+ "ts"
|
|
|
|
+ ],
|
|
|
|
+ "testPathIgnorePatterns": [
|
|
|
|
+ "/node_modules/",
|
|
|
|
+ "<rootDir>/node_modules/"
|
|
|
|
+ ],
|
|
|
|
+ "rootDir": "src",
|
|
|
|
+ "testRegex": "(/__tests__/.*|\\.(test|spec))\\.(ts|js)$",
|
|
|
|
+ "transform": {
|
|
|
|
+ ".ts": "ts-jest"
|
|
|
|
+ },
|
|
|
|
+ "collectCoverageFrom": [
|
|
|
|
+ "**/*.(t|j)s"
|
|
|
|
+ ],
|
|
|
|
+ "coverageDirectory": "./coverage",
|
|
|
|
+ "testEnvironment": "node"
|
|
}
|
|
}
|
|
}
|
|
}
|