salsify-experiences-sdk
Version:
SDK to be used by commerce websites to implement product experiences.
72 lines (71 loc) • 2.41 kB
JSON
{
"name": "salsify-experiences-sdk",
"version": "1.0.3",
"description": "SDK to be used by commerce websites to implement product experiences.",
"keywords": [
"client-sdk"
],
"license": "MIT",
"main": "lib/cjs/index.js",
"types": "lib/types/index.d.ts",
"files": [
"bundle/**/*",
"lib/**/*",
"src/**/*",
"RELEASE_NOTES.md"
],
"scripts": {
"build": "yarn build-bundle && yarn build-lib",
"build-bundle": "webpack --mode production",
"build-lib": "yarn build-lib-cjs",
"build-lib-cjs": "tsc --project tsconfig.publish.json --outDir lib/cjs",
"test": "jest",
"test:coverage": "jest --coverage",
"test:watch": "jest --watch",
"lint": "eslint src --ext=js,ts",
"lint:fix": "eslint src --ext=js,ts --fix",
"example-website": "webpack serve --open",
"prebuild": "node -p \"'export const SDK_VERSION = \\'' + require('./package.json').version + '\\''\" > src/version.ts",
"prepack": "yarn build",
"postpublish": "yarn clean-build",
"preversion": "yarn test && yarn lint",
"postversion": "git push && git push --tags",
"clean-build": "rm -rf bundle && rm -rf lib",
"document": "yarn prebuild && typedoc && ./docs/scripts/concat_typedocs.sh && yarn format-docs",
"format-docs": "prettier --config ./docs/.prettierrc.yaml --write \"./docs/**/*.md\"",
"lint-docs": "prettylint --config ./docs/.prettierrc.yaml \"./docs/**/*.md\""
},
"devDependencies": {
"@babel/core": "^7.24.7",
"@babel/preset-env": "^7.24.7",
"@babel/preset-typescript": "^7.24.7",
"@salsify/browserslist-config": "^1.1.0",
"@salsify/eslint-config": "^16.1.1",
"@types/jest": "^29.5.12",
"babel-loader": "^9.1.3",
"core-js": "^3.37.1",
"eslint": "^8.57.0",
"eslint-plugin-prettier": "^5.1.3",
"http-status-codes": "^2.3.0",
"jest": "^29.7.0",
"jest-environment-jsdom": "^29.7.0",
"msw": "^2.3.1",
"prettier": "^3.3.2",
"prettylint": "^2.0.0",
"ts-jest": "^29.1.4",
"ts-loader": "^9.5.1",
"typedoc": "^0.25.13",
"typedoc-plugin-markdown": "^4.0.3",
"typedoc-plugin-merge-modules": "^5.1.0",
"typedoc-plugin-rename-defaults": "^0.7.0",
"typescript": "^5.4.5",
"undici": "^5.28.4",
"webpack": "^5.92.0",
"webpack-cli": "^5.1.4",
"webpack-dev-server": "^5.0.4"
},
"volta": {
"node": "18.20.3",
"yarn": "1.22.22"
}
}