-
Notifications
You must be signed in to change notification settings - Fork 1
/
package.json
126 lines (126 loc) · 4.99 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
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
{
"name": "detect-facebook-in-app-browser",
"version": "0.1.1",
"description": "Detect Facebook in-app browser typescript library",
"author": "juunini",
"license": "MIT",
"repository": "https://github.com/juunini/detect-facebook-in-app-browser",
"homepage": "https://github.com/juunini/detect-facebook-in-app-browser",
"main": "lib/index.js",
"unpkg": "dist/detect-facebook-in-app-browser.development.js",
"types": "types/index.d.ts",
"module": "es/index.js",
"sideEffects": [
"es/index.js",
"lib/index.js"
],
"keywords": [
"typescript",
"detect",
"facebook",
"in-app",
"browser"
],
"scripts": {
"test": "is-ci \"test:ci\" \"test:dev\"",
"test:dev": "npm run test:types && npm run test:format && npm run test:eslint && jest --watch",
"test:ci": "npm run test:types && npm run test:format && npm run test:eslint && jest --coverage",
"test:coverage": "yarn test:ci; open coverage/lcov-report/index.html",
"test:format": "yarn eslint",
"test:types": "tsc",
"test:eslint": "eslint --ext .ts,.tsx ./src",
"build": "yarn build:commonjs && yarn build:es && yarn build:umd && yarn build:types",
"build:commonjs": "rimraf ./lib && cross-env BABEL_ENV=commonjs babel --extensions .ts,.tsx ./src --out-dir lib",
"build:es": "rimraf ./es && babel --extensions .ts,.tsx ./src --out-dir es",
"build:umd": "rimraf ./dist && cross-env NODE_ENV=production rollup -c && rollup-plugin-visualizer stats.json",
"build:types": "rimraf ./types && tsc --project ./tsconfig.types.json && replace 'import type' 'import' ./types -r --silent && replace 'export type' 'export' ./types -r --silent",
"watch": "yarn watch:commonjs & yarn watch:es & yarn watch:umd & yarn watch:types",
"watch:commonjs": "rimraf ./lib && cross-env BABEL_ENV=commonjs babel --watch --extensions .ts,.tsx ./src --out-dir lib",
"watch:es": "rimraf ./es && babel --watch --extensions .ts,.tsx --ignore ./src/**/tests/**/* ./src --out-dir es",
"watch:umd": "rimraf ./dist && cross-env NODE_ENV=production rollup -w -c && rollup-plugin-visualizer stats.json",
"watch:types": "rimraf ./types && tsc --watch --project ./tsconfig.types.json && replace 'import type' 'import' ./types -r --silent && replace 'export type' 'export' ./types -r --silent",
"now-build": "yarn && cd www && yarn && yarn build",
"start": "yarn watch",
"stats": "open ./stats.html",
"storybook": "start-storybook -p 6006",
"build-storybook": "build-storybook"
},
"files": [
"dist",
"es",
"lib",
"types"
],
"dependencies": {
"@babel/runtime": "^7.16.0"
},
"devDependencies": {
"@babel/cli": "^7.16.0",
"@babel/core": "^7.16.0",
"@babel/plugin-transform-modules-commonjs": "^7.16.0",
"@babel/plugin-transform-runtime": "^7.16.0",
"@babel/preset-env": "^7.16.0",
"@babel/preset-react": "^7.16.0",
"@babel/preset-typescript": "^7.16.0",
"@mdx-js/react": "^1.6.22",
"@rollup/plugin-replace": "^3.0.0",
"@storybook/addon-actions": "^6.4.4",
"@storybook/addon-docs": "^6.4.4",
"@storybook/addon-essentials": "^6.4.4",
"@storybook/addon-links": "^6.4.4",
"@storybook/builder-webpack5": "^6.4.4",
"@storybook/manager-webpack5": "^6.4.4",
"@storybook/react": "^6.4.4",
"@svgr/rollup": "^5.5.0",
"@testing-library/jest-dom": "^5.16.1",
"@testing-library/react": "^12.1.2",
"@types/jest": "^27.0.3",
"@types/jest-plugin-context": "^2",
"@types/mdx-js__react": "^1",
"@types/node": "^16.11.10",
"@types/react": "^17",
"@types/react-dom": "^17.0.11",
"@types/testing-library__jest-dom": "^5",
"@typescript-eslint/eslint-plugin": "^5.3.1",
"@typescript-eslint/parser": "^5.3.1",
"babel-jest": "^27.4.2",
"babel-loader": "^8.2.3",
"babel-plugin-const-enum": "^1.2.0",
"babel-plugin-transform-async-to-promises": "^0.8.15",
"cross-env": "^7.0.3",
"eslint": "^8.2.0",
"eslint-config-airbnb": "^18.2.1",
"eslint-config-airbnb-base": "^15.0.0",
"eslint-config-airbnb-typescript": "^15.0.0",
"eslint-import-resolver-node": "^0.3.6",
"eslint-plugin-import": "^2.25.2",
"eslint-plugin-jsx-a11y": "^6.4.1",
"eslint-plugin-react": "^7.26.1",
"eslint-plugin-react-hooks": "^4.3.0",
"eslint-plugin-storybook": "^0.5.2",
"is-ci-cli": "^2.2.0",
"jest": "^27.4.3",
"jest-plugin-context": "^2.9.0",
"jest-useragent-mock": "^0.1.1",
"process": "^0.11.10",
"react": "^17.0.2",
"react-dom": "^17.0.2",
"replace": "^1.2.1",
"rimraf": "^3.0.2",
"rollup": "^2.59.0",
"rollup-plugin-babel": "^4.4.0",
"rollup-plugin-commonjs": "^10.1.0",
"rollup-plugin-jscc": "^2.0.0",
"rollup-plugin-node-resolve": "^5.2.0",
"rollup-plugin-peer-deps-external": "^2.2.4",
"rollup-plugin-size": "^0.2.2",
"rollup-plugin-terser": "^7.0.2",
"rollup-plugin-visualizer": "^5.5.2",
"type-fest": "^2.5.2",
"typescript": "^4.4.4"
},
"peerDependencies": {
"eslint": "^7.2.0"
},
"packageManager": "[email protected]"
}