@valantic/spartacus-mock
Version:
This project offers you the possibility to mock the OCC Endpoints of your Composable Storefront (Spartacus). It uses the Mock Service Worker to mock the API calls.
59 lines • 1.68 kB
JSON
{
"name": "@valantic/spartacus-mock",
"version": "5.0.2",
"description": "This project offers you the possibility to mock the OCC Endpoints of your Composable Storefront (Spartacus). It uses the Mock Service Worker to mock the API calls.",
"keywords": [
"Composable Storefront",
"Spartacus",
"spartacus-mock",
"schematics",
"angular",
"valantic"
],
"repository": {
"type": "git",
"url": "git+https://github.com/valantic/spartacus-mock.git"
},
"engines": {
"node": ">=22 <23",
"npm": ">=10 <11"
},
"author": "valantic CEC",
"license": "MIT",
"bugs": {
"url": "https://github.com/valantic/spartacus-mock/issues"
},
"homepage": "https://github.com/valantic/spartacus-mock.git",
"main": "./index.js",
"scripts": {
"postinstall": "cd $INIT_CWD && npx msw init ./src --save",
"build": "tsc -p tsconfig.schematics.json",
"postbuild": "copyfiles schematics/*/schema.json schematics/*/files/**/* schematics/collection.json ../../dist/spartacus-mock/",
"watch": "tsc -p tsconfig.schematics.json --watch"
},
"schematics": "./schematics/collection.json",
"ng-add": {
"save": "devDependencies"
},
"dependencies": {
"tslib": "^2.6.2"
},
"peerDependencies": {
"@angular/common": "^19.2.5",
"@angular/core": "^19.2.5",
"@angular/compiler": "^19.2.5",
"msw": "^2.7.3"
},
"module": "fesm2022/valantic-spartacus-mock.mjs",
"typings": "index.d.ts",
"exports": {
"./package.json": {
"default": "./package.json"
},
".": {
"types": "./index.d.ts",
"default": "./fesm2022/valantic-spartacus-mock.mjs"
}
},
"sideEffects": false
}