meta-capi-param-builder-clientjs
Version:
Conversions API parameter builder for Client-side JavaScript
72 lines (71 loc) • 1.96 kB
JSON
{
"name": "meta-capi-param-builder-clientjs",
"version": "1.3.2",
"description": "Conversions API parameter builder for Client-side JavaScript",
"author": "Facebook",
"license": "SEE LICENSE IN LICENSE",
"repository": {
"type": "git",
"url": "git+https://github.com/facebook/capi-param-builder.git",
"directory": "client_js"
},
"homepage": "https://github.com/facebook/capi-param-builder#readme",
"main": "dist/clientParamBuilder.bundle.js",
"files": [
"dist/",
"capiParamBuilder/",
"shared/",
"webpack.config.js",
"LICENSE",
"README.md",
"CHANGELOG.md"
],
"engines": {
"node": ">=20"
},
"resolutions": {
"serialize-javascript": "^7.0.3",
"@tootallnate/once": "^3.0.1"
},
"overrides": {
"serialize-javascript": "^7.0.3",
"@tootallnate/once": "^3.0.1"
},
"devDependencies": {
"@babel/core": "^7.26.8",
"@babel/preset-env": "^7.26.8",
"@eslint/js": "^8.27.0",
"babel-jest": "^29.7.0",
"babel-loader": "^9.2.1",
"eslint": "^8.27.0",
"eslint-config-prettier": "^8.10.0",
"eslint-plugin-prettier": "^5.2.1",
"globals": "^15.8.0",
"jest": "^29.7.0",
"jest-environment-jsdom": "^29.7.0",
"prettier": "^3.5.1",
"webpack": "^5.97.1",
"webpack-cli": "^5.1.4",
"core-js-pure": "3.32.2"
},
"scripts": {
"build": "webpack --mode production",
"build:dev": "webpack --mode development",
"build:dev:example": "yarn run build:dev && cp dist/*js example/public/dev/ && cd example && node server.js",
"version": "echo $npm_package_version",
"lint": "eslint --fix .",
"format": "prettier --write .",
"test": "jest",
"clear_jest": "jest --clearCache",
"prepublishOnly": "yarn test && yarn build"
},
"jest": {
"transform": {
"^.+\\.js$": "babel-jest"
},
"moduleNameMapper": {
"^@shared(.*)$": "<rootDir>/shared$1"
},
"testEnvironment": "jsdom"
}
}