-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
80 lines (80 loc) · 2.72 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
{
"name": "@xkit-co/crm-link.js",
"version": "2.10.9",
"description": "CRM integrations on your application via XKit",
"repository": {
"type": "git",
"url": "https://github.com/xkit-co/crm-link.js.git"
},
"license": "UNLICENSED",
"engines": {
"node": ">= 14"
},
"targets": {
"static": {
"distDir": "./dist",
"engines": {
"browsers": "> 0.5%, last 2 versions, not dead"
}
},
"lib": {
"isLibrary": true,
"distDir": "./dist"
},
"testapp": {
"distDir": "../../../testapp/priv/static/js/crm-link",
"engines": {
"browsers": "> 0.5%, last 2 versions, not dead"
}
}
},
"main": "dist/index.js",
"types": "dist/index.d.ts",
"files": [
"dist"
],
"scripts": {
"watch-testapp": "chokidar \"src/**/*.tsx\" \"src/**/*.ts\" \"src/**/*.css\" --silent --initial -c \"rm -rf ../../../testapp/priv/static/js/crm-link && parcel build --no-cache src/browser.ts --target testapp\"",
"build-lib": "tsc --outDir dist",
"build-lib-styles": "parcel build --no-cache src/index.inline.css --target lib && mv dist/index.inline.js dist/index.inline.css.js",
"build-browser": "parcel build --no-cache src/browser.ts --reporter @parcel/reporter-bundle-analyzer --target static",
"build-types": "tsc --emitDeclarationOnly --declaration --outDir temp && mv temp/index.d.ts dist/index.d.ts && rm -rf temp",
"build": "rm -rf dist && npm run build-lib && npm run build-lib-styles && npm run build-browser && npm run build-types",
"test": "tsc --noEmit",
"prepublishOnly": "npm run build",
"repo": "echo https://github.com/xkit-co/crm-link.js.git",
"lint": "eslint . --ext js,jsx,ts,tsx",
"format-check": "prettier \"src/**/*.{js,jsx,ts,tsx}\" --check"
},
"devDependencies": {
"@babel/core": "^7.18.9",
"@parcel/config-default": "^2.6.2",
"@parcel/packager-ts": "2.6.2",
"@parcel/reporter-bundle-analyzer": "^2.6.2",
"@parcel/transformer-typescript-types": "2.6.2",
"@types/react": "^18.0.8",
"@types/react-dom": "^18.0.3",
"@typescript-eslint/eslint-plugin": "^5.22.0",
"@typescript-eslint/parser": "^5.22.0",
"chokidar-cli": "^3.0.0",
"eslint": "^8.14.0",
"eslint-config-prettier": "^8.5.0",
"eslint-plugin-import": "^2.26.0",
"eslint-plugin-prettier": "^4.0.0",
"eslint-plugin-react": "^7.28.0",
"eslint-plugin-react-hooks": "^4.3.0",
"parcel": "^2.6.2",
"parcel-transformer-css-to-string": "^0.9.1",
"postcss": "^8.4.13",
"prettier": "^2.6.2",
"tailwindcss": "^3.0.24",
"typescript": "^4.6.4"
},
"peerDependencies": {
"react": "16.9.0 - 18",
"react-dom": "16.9.0 - 18"
},
"dependencies": {
"@xkit-co/xkit.js": "^3.14.2"
}
}