UNPKG

@supernovaio/sdk

Version:

Supernova.io SDK

101 lines (100 loc) 3.48 kB
{ "name": "@supernovaio/sdk", "version": "2.2.22", "description": "Supernova.io SDK", "main": "./build/supernova-sdk-typescript.js", "types": "./build/sdk-typescript/src/index.d.ts", "license": "MIT", "keywords": [ "Supernova", "Design Systems", "Supernovaio", "SDK", "Design Tokens", "Tokens", "Assets", "Components", "Documentation", "Markdown", "CMS" ], "files": ["build"], "scripts": { "build:production": "npm run clean && webpack --mode production --config ./webpack.config.sdk.js", "build-sdk": "npm run build:production", "clean": "trash build test", "fix": "run-s fix:*", "lint": "eslint 'src/**/*.ts*'", "lint:fix": "eslint 'src/**/*.ts*' --fix", "test": "run-s \"test:* -- {@}\" --", "test:unit": "vitest run --config vitest.config.ts --reporter verbose", "test:watch": "vitest --config vitest.config.ts --watch", "test-ci": "vitest run --config vitest.config-ci.ts", "test-ts": "vitest run --config vitest.config-token-studio.ts", "reset": "git clean -dfx && git reset --hard && npm i", "typecheck": "tsc --noEmit -p ./tsconfig.json", "publish-package-sdk": "npm run clean && sh ./scripts/publish-sdk.sh", "publish-package-sdk-exporters": "npm run clean && sh ./scripts/publish-sdk-exporters.sh", "publish-packages": "sh ./scripts/publish-packages.sh" }, "scripts-info": { "info": "Display information about the package scripts", "build": "Clean and rebuild the project", "fix": "Try to automatically fix any linting problems", "test": "Lint and unit test the project", "watch": "Watch and rebuild the project on save, then rerun relevant tests", "cov": "Rebuild, run tests, then create and open the coverage report", "doc": "Generate HTML API documentation and open it in a browser", "doc:json": "Generate API documentation in typedoc JSON format", "version": "Bump package.json version, update CHANGELOG.md, tag release", "reset": "Delete all untracked files and reset the repo to the last commit", "publish-package-sdk": "Publish SDK package to NPM", "publish-packages": "Publish both SDK and Pulsar package to NPM" }, "engines": { "node": ">=8.9" }, "dependencies": { "@supernova-studio/client": "1.10.5", "@supernova-studio/model": "1.10.5", "abab": "2.0.6", "async-mutex": "0.3.2", "color-string": "1.9.1", "color2k": "2.0.2", "expr-eval": "2.0.2", "fuse.js": "6.6.2", "lodash": "4.17.21", "parse-color": "1.0.0", "postcss-calc-ast-parser": "0.1.4", "string.prototype.matchall": "4.0.8", "tinycolor2": "1.6.0", "uuid": "8.3.2" }, "bundleDependencies": ["@supernova-studio/client", "@supernova-studio/model"], "devDependencies": { "@istanbuljs/nyc-config-typescript": "0.1.3", "@types/lodash": "4.14.191", "@types/tinycolor2": "1.4.3", "@types/uuid": "8.3.4", "dotenv": "16.0.3", "esm": "^3.2.25", "npm-run-all": "4.1.5", "nyc": "^17.1.0", "trash-cli": "5.0.0", "ts-loader": "9.4.2", "tsconfig-paths-webpack-plugin": "4.2.0", "tsx": "4.7.0", "typescript-with-config": "*", "vitest": "^3.0.5", "webpack-cli": "^6.0.1", "webpack-node-externals": "3.0.0" }, "config": {}, "nyc": { "extends": "@istanbuljs/nyc-config-typescript", "exclude": ["**/*.spec.js"] }, "optionalDependencies": { "@rollup/rollup-darwin-x64": "^4.34.6" } }