Separates common utils into the medusa-core-utils package. Sets up a testing environment where mocked models/services/etc. can be placed in __mocks__ folder within its corresponding directory. The mocks will automatically be registered in a awilix container only used for testing.
31 lines
897 B
JSON
31 lines
897 B
JSON
{
|
|
"name": "medusa-payment-stripe",
|
|
"version": "1.0.0",
|
|
"description": "Stripe Payment provider for Meduas Commerce",
|
|
"main": "index.js",
|
|
"repository": {
|
|
"type": "git",
|
|
"url": "https://github.com/srindom/medusa",
|
|
"directory": "packages/medusa-payment-stripe"
|
|
},
|
|
"author": "Sebastian Rindom",
|
|
"license": "AGPL-3.0-or-later",
|
|
"devDependencies": {
|
|
"@babel/cli": "^7.7.5",
|
|
"@babel/core": "^7.7.5",
|
|
"@babel/plugin-proposal-class-properties": "^7.7.4",
|
|
"@babel/plugin-transform-runtime": "^7.7.6",
|
|
"@babel/preset-env": "^7.7.5",
|
|
"client-sessions": "^0.8.0",
|
|
"cross-env": "^5.2.1"
|
|
},
|
|
"scripts": {
|
|
"build": "babel src --out-dir . --ignore **/__tests__",
|
|
"prepare": "cross-env NODE_ENV=production npm run build",
|
|
"watch": "babel -w src --out-dir . --ignore **/__tests__"
|
|
},
|
|
"dependencies": {
|
|
"@babel/runtime": "^7.7.6"
|
|
}
|
|
}
|