Introduce the boilerplate for a new public npm package that will serve as the cookie consent banner JavaScript SDK. The package uses esbuild to produce both an IIFE bundle (for script tag embedding) and an ESM module. Versioning is independent from the monorepo: CI compares package.json against npm and only publishes when the version changes. Signed-off-by: Émile Ré <emile@getprobo.com>
14 lines
326 B
JSON
14 lines
326 B
JSON
{
|
|
"$schema": "https://json.schemastore.org/tsconfig",
|
|
"extends": "@probo/tsconfig/base.json",
|
|
"compilerOptions": {
|
|
"declaration": true,
|
|
"declarationDir": "dist",
|
|
"emitDeclarationOnly": true,
|
|
"rootDir": "src",
|
|
"outDir": "dist",
|
|
"lib": ["ES2020", "DOM", "DOM.Iterable"]
|
|
},
|
|
"include": ["src"]
|
|
}
|