@finapi/finapi-js-loader
Version:
finAPI JS Loader
92 lines (91 loc) • 3.07 kB
JSON
{
"name": "@finapi/finapi-js-loader",
"description": "finAPI JS Loader",
"author": "support@finapi.io",
"version": "0.45.0",
"keywords": [
"finapi"
],
"license": "MIT",
"publishConfig": {
"access": "public"
},
"main": "dist/index.js",
"typings": "dist/index.d.ts",
"module": "dist/finapi-js-loader.esm.js",
"files": [
"dist"
],
"engines": {
"node": ">=10"
},
"scripts": {
"start": "dts watch",
"lint": "eslint src",
"format": "npx prettier *.ts *.tsx *.js --write ./src",
"docs": "typedoc --out dist/docs --plugin typedoc-plugin-missing-exports --excludeInternal --disableSources --includeVersion --excludeExternals src/index.ts",
"compile": "dts build --format cjs,umd,esm",
"size": "size-limit",
"build": "npm run lint && npm run compile && npm run size && npm run docs",
"test": "npm run test:unit && npm run test:dist && npm run test:e2e",
"test:unit": "npm run test:unit:run && npm run test:unit:coverage",
"test:unit:run": "jest --watchAll=false --testPathPattern=unit\\.test\\.ts",
"test:unit:coverage": "jest-coverage-thresholds-bumper",
"test:unit:debug": "cross-env DEBUG_PRINT_LIMIT=10000 jest --no-coverage --watch",
"test:dist": "jest --testPathPattern=dist\\.test\\.ts --coverage false",
"test:e2e:prepare": "npm run test:e2e:prepare:widgets",
"test:e2e:prepare:widgets": "npm --prefix ./example_app/react/widgets install && npm --prefix ./example_app/react/widgets run build",
"test:e2e": "npx playwright install && npm run test:e2e:prepare && npm run test:e2e:run",
"test:e2e:run": "npx playwright test",
"test:e2e:debug": "cross-env PWDEBUG=1 npx playwright test --headed --retries 0",
"serve": "npx serve -p 6001 ./dist"
},
"husky": {
"hooks": {
"pre-commit": "tsdx lint"
}
},
"size-limit": [
{
"path": "dist/finapi-js-loader.cjs.production.min.js",
"limit": "10 KB"
},
{
"path": "dist/finapi-js-loader.esm.js",
"limit": "10 KB"
},
{
"path": "dist/finapi-js-loader.umd.production.min.js",
"limit": "10 KB"
}
],
"devDependencies": {
"@babel/core": "^7.17.9",
"@playwright/test": "^1.42.1",
"@size-limit/preset-small-lib": "^7.0.8",
"@types/jest": "^29.5.12",
"@types/jsdom": "^21.1.6",
"@typescript-eslint/eslint-plugin": "^7.2.0",
"@typescript-eslint/parser": "^7.2.0",
"babel-loader": "^8.2.5",
"cross-env": "^7.0.3",
"dts-cli": "^2.0.3",
"eslint": "^8.57.0",
"eslint-config-prettier": "^9.1.0",
"eslint-plugin-playwright": "^1.5.2",
"eslint-plugin-prettier": "^5.1.3",
"eslint-plugin-testing-library": "^6.2.0",
"husky": "^7.0.4",
"jest": "^29.7.0",
"jest-coverage-thresholds-bumper": "^1.1.0",
"jest-environment-jsdom": "^29.7.0",
"np": "^7.6.2",
"prettier": "^3.2.5",
"size-limit": "^7.0.8",
"ts-jest": "^29.1.2",
"tslib": "^2.3.1",
"typedoc": "^0.25.6",
"typedoc-plugin-missing-exports": "^2.1.0",
"typescript": "^4.6.3"
}
}