Repository navigation
Expand file tree
/
Copy pathpackage.json
More file actions
97 lines (97 loc) 路 3.06 KB
/
Copy pathpackage.json
File metadata and controls
97 lines (97 loc) 路 3.06 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
{
"name": "cookie-though",
"version": "1.7.3",
"license": "MIT",
"homepage": "https://cookiethough.dev",
"repository": {
"type": "git",
"url": "git+https://github.com/inthepocket/cookie-though.git"
},
"main": "dist/lib.js",
"types": "dist/types/lib.d.ts",
"keywords": [
"cookies",
"cookie",
"cookie preferences",
"browser",
"universal"
],
"files": [
"dist"
],
"scripts": {
"build:site": "tsc --noEmit && parcel build src/index.html --no-source-maps --out-dir public --no-content-hash && ./scripts/replace_css.sh staging",
"build:lib": "parcel build src/lib.ts --no-source-maps --global CookieThough --out-dir dist --experimental-scope-hoisting && ./scripts/replace_css.sh && ./scripts/types.sh",
"build:docs": "astro build --root docs",
"dev": "parcel src/index.html",
"dev:docs": "astro dev --root docs",
"types": "tsc",
"types:lib": "tsc --project tsconfig.types.json",
"typeCheck": "tsc --noEmit && tsc --project tsconfig.test.json --noEmit",
"lint": "eslint 'src/**/*.{js,jsx,ts,tsx}'",
"markdown:fix": "markdownlint '**/*.md' --ignore node_modules --fix",
"prettier:fix": "npm run prettier -- --write",
"prettier": "prettier \"src/**/*.{js,ts,tsx}\"",
"prepare": "./scripts/postinstall-local.sh",
"postinstall": "patch-package",
"deploy:site": "firebase deploy --only hosting:site",
"deploy:docs": "firebase deploy --only hosting:docs",
"test": "jest",
"test:coverage": "jest --coverage --reporters=jest-junit",
"publish:lib": "npm run build:lib && npm publish && npm run build:docs && npm run deploy:docs"
},
"dependencies": {
"events": "3.3.0",
"lodash.throttle": "4.1.1",
"preact": "10.29.0"
},
"browserslist": [
"> 0.25%",
"last 2 versions",
"IE >= 9"
],
"devDependencies": {
"@astrojs/mdx": "^5.0.1",
"@astrojs/sitemap": "^3.7.1",
"@babel/core": "7.29.0",
"@babel/plugin-transform-react-jsx": "7.28.6",
"@babel/preset-env": "^7.29.0",
"@babel/preset-typescript": "^7.28.5",
"@eslint/js": "^10.0.1",
"@types/enzyme": "3.10.19",
"@types/jest": "30.0.0",
"@types/lodash.throttle": "4.1.9",
"@typescript-eslint/eslint-plugin": "^8.57.0",
"@typescript-eslint/parser": "^8.57.0",
"astro": "^6.0.5",
"babel-jest": "^30.2.0",
"enzyme": "3.11.0",
"enzyme-adapter-preact-pure": "^4.1.0",
"enzyme-to-json": "3.6.2",
"eslint": "^10.0.3",
"eslint-config-prettier": "^10.1.8",
"eslint-plugin-prettier": "^5.5.5",
"firebase-tools": "^15.10.0",
"jest": "30.3.0",
"jest-environment-jsdom": "^30.3.0",
"jest-junit": "16.0.0",
"markdownlint-cli": "^0.48.0",
"parcel-bundler": "1.12.5",
"patch-package": "^8.0.1",
"preact-render-to-string": "6.6.6",
"prettier": "^3.8.1",
"regenerator-runtime": "^0.14.1",
"sass": "^1.94.2",
"typescript": "5.9.3"
},
"overrides": {
"glob": "^13.0.6",
"qs": "^6.15.0",
"form-data": "^4.0.5",
"braces": "^3.0.3",
"node-forge": "^1.3.3",
"enzyme": {
"cheerio": "1.0.0-rc.3"
}
}
}