{"name":"@stackblitz/sdk","version":"1.11.1","description":"SDK for generating and embedding StackBlitz projects.","license":"MIT","author":{"name":"Eric Simons"},"homepage":"https://github.com/stackblitz/sdk","repository":{"type":"git","url":"git+https://github.com/stackblitz/sdk.git"},"main":"./bundles/sdk.js","module":"./bundles/sdk.m.js","unpkg":"./bundles/sdk.umd.js","jsdelivr":"./bundles/sdk.umd.js","types":"./types/index.d.ts","scripts":{"build":"npm run build:clean && npm run build:types && npm run build:lib","build:clean":"rimraf bundles temp types","build:lib":"vite build --mode lib","build:types":"tsc -p tsconfig.lib.json","format":"prettier --write 'src/**/*.ts' 'test/**/*.ts' vite.*.ts","prepack":"npm run test:unit && npm run build","start":"vite dev --mode dev --open /examples/","start:e2e":"vite dev --mode e2e","test":"vitest run --mode test --coverage","test:unit":"vitest run --mode test","test:e2e":"npx playwright test","test:format":"npx prettier --check ."},"devDependencies":{"@playwright/test":"^1.61.1","@rollup/plugin-replace":"^5.0.2","@types/body-parser":"^1.19.2","@types/lodash":"^4.14.192","@vitest/coverage-c8":"^0.29.8","@vitest/ui":"^0.29.8","body-parser":"^1.20.2","happy-dom":"^9.1.0","lodash":"^4.17.21","prettier":"^2.8.7","rimraf":"^4.4.1","typescript":"~4.4.4","vite":"^4.2.1","vite-tsconfig-paths":"^4.0.8","vitest":"^0.29.8"},"_id":"@stackblitz/sdk@1.11.1","gitHead":"297db955bde8874219aaa544e9e15042ff8c08a3","bugs":{"url":"https://github.com/stackblitz/sdk/issues"},"_nodeVersion":"20.9.0","_npmVersion":"10.1.0","dist":{"integrity":"sha512-5wl1j3IhtmE7POTl2W9VGQdbQyBQrRsF3jcYBK+0V353AuO8H2GFZkiFNyTRxL+TDY3HIFCHc3G983Osmg76Lg==","shasum":"65a3491aa59aeff2987a6e5c940b2058b6f242ca","tarball":"http://registry-npm.ywwl.com/@stackblitz/sdk/download/@stackblitz/sdk-1.11.1.tgz","fileCount":20,"unpackedSize":205373,"signatures":[{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEUCIQDOW2TP/lYRbJ3v4jxQAwDqz+ePmsKULdpqA9yt38cI4gIgR8GRs4ORx8FtbN6HHTUs1w5jrrZTnrhjew8mAQQjW2s="}],"size":47677,"noattachment":false,"key":"/@stackblitz/sdk/-/@stackblitz/sdk-1.11.1.tgz"},"_npmUser":{"name":"d3lm","email":"elmdominic@gmx.net"},"directories":{},"maintainers":[{"name":"ericmsimons","email":"eric@esft.com"},{"name":"apai4","email":"iamalbertpai@gmail.com"},{"name":"tsulkowski","email":"tomek@stackblitz.com"},{"name":"d3lm","email":"elmdominic@gmx.net"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/sdk_1.11.1_1782977200328_0.7845242954686482"},"_hasShrinkwrap":false,"readme":"# StackBlitz SDK\n\nThe StackBlitz JavaScript SDK lets you programmatically create StackBlitz projects to be opened in a new window or embedded in your docs, example pages, or blog posts.\n\n## Documentation\n\nCheck out our SDK documentation on developer.stackblitz.com:\n\n- [SDK overview](https://developer.stackblitz.com/platform/api/javascript-sdk)\n- [Options reference](https://developer.stackblitz.com/platform/api/javascript-sdk-options)\n- [Controlling embeds](https://developer.stackblitz.com/platform/api/javascript-sdk-vm)\n\n## Reporting issues\n\n- Issues with the SDK can be filed at https://github.com/stackblitz/sdk/issues\n- Other issues with StackBlitz can be filed at https://github.com/stackblitz/core/issues\n\n## Development\n\nWe use `npm` and Node 16+.\n\n```sh\n# Install dependencies\nnpm install\n\n# Start a development server to explore examples\nnpm start\n\n# Run unit tests\nnpm test\n\n# Run end-to-end tests with mock server\nnpm run test:e2e\n\n# Run end-to-end tests against stackblitz.com\nSTACKBLITZ_SERVER_ORIGIN=https://stackblitz.com npm run test:e2e\n\n# Generate the 'bundles' and 'types' folders\nnpm run build\n```\n","publish_time":1782977200451,"_cnpm_publish_time":1782977200451,"dist-tags":{"latest":"1.11.1"}}