-
Notifications
You must be signed in to change notification settings - Fork 8
/
package.json
89 lines (89 loc) · 3.07 KB
/
package.json
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
{
"name": "cookie-though",
"version": "1.5.0",
"license": "MIT",
"homepage": "https://cookiethough.dev",
"main": "dist/lib.js",
"types": "dist/types/lib.d.ts",
"repository": {
"type": "git",
"url": "https://github.com/inthepocket/cookie-though"
},
"keywords": [
"cookies",
"cookie",
"cookie preferences",
"browser",
"universal"
],
"files": [
"dist"
],
"scripts": {
"build:site": "tsc --noEmit && parcel build src/index.html --no-source-maps --global CookieThough --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",
"build:docs": "npm run build:sass && npm run build:jekyll",
"dev": "parcel src/index.html --global CookieThough",
"dev:site": "./scripts/site_exist.sh && npm-run-all -p serve watch:sass watch:jekyll",
"types": "tsc",
"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",
"deploy:site": "firebase deploy --token $FIREBASE_TOKEN --only hosting:site",
"deploy:docs": "firebase deploy --token $FIREBASE_TOKEN --only hosting:docs",
"test": "jest",
"test:coverage": "jest --coverage --reporters=jest-junit",
"build:sass": "dart-sass --style=compressed docs/_scss/docs.scss:docs/jekyll/css/docs.min.css",
"watch:sass": "chokidar 'docs/_scss/**/*' -c 'npm run build:sass'",
"build:jekyll": "bundle exec jekyll build --trace",
"watch:jekyll": "chokidar 'docs/jekyll/**' '_config.yml' -c 'npm run build:jekyll && browser-sync reload'",
"serve": "browser-sync start --http --server _site"
},
"eslintIgnore": [
"dist/*"
],
"dependencies": {
"events": "3.3.0",
"lodash.throttle": "4.1.1",
"preact": "10.7.1"
},
"browserslist": [
"> 0.25%",
"last 2 versions",
"IE >= 9"
],
"devDependencies": {
"@babel/core": "7.17.9",
"@babel/plugin-transform-react-jsx": "7.17.3",
"@types/enzyme": "3.10.12",
"@types/jest": "27.4.1",
"@types/lodash.throttle": "4.1.7",
"@typescript-eslint/eslint-plugin": "5.20.0",
"@typescript-eslint/parser": "5.20.0",
"browser-sync": "2.27.9",
"chokidar": "3.5.3",
"chokidar-cli": "3.0.0",
"dart-sass": "1.25.0",
"enzyme": "3.11.0",
"enzyme-adapter-preact-pure": "4.0.1",
"enzyme-to-json": "3.6.2",
"eslint": "8.13.0",
"eslint-config-prettier": "8.5.0",
"eslint-plugin-prettier": "4.0.0",
"eslint-plugin-react": "7.29.4",
"eslint-plugin-react-hooks": "4.4.0",
"firebase-tools": "9.22.0",
"jest": "27.5.1",
"jest-junit": "13.1.0",
"jest-preset-preact": "4.0.5",
"markdownlint-cli": "0.31.1",
"npe": "1.2.0",
"npm-run-all": "4.1.5",
"parcel-bundler": "1.12.5",
"preact-render-to-string": "5.1.21",
"prettier": "2.6.2",
"typescript": "4.6.3"
}
}