forked from floating-ui/floating-ui
-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathpackage.json
125 lines (125 loc) · 4.08 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
{
"name": "@popperjs/core",
"version": "2.0.6",
"description": "Tooltip and Popover Positioning Engine",
"main": "dist/cjs/popper.js",
"main:umd": "dist/umd/popper.js",
"module": "lib/popper.js",
"unpkg": "dist/umd/popper.min.js",
"author": "Federico Zivolo <federico.zivolo@gmail.com>",
"license": "MIT",
"repository": "github:popperjs/popper-core",
"keywords": [
"tooltip",
"popover",
"dropdown",
"popup",
"popper",
"positioning engine"
],
"funding": {
"type": "opencollective",
"url": "https://opencollective.com/popperjs"
},
"scripts": {
"clean": "rimraf lib && rimraf dist && rimraf test/visual/dist",
"test": "yarn test:unit && yarn test:functional",
"test:unit": "jest --coverage src",
"test:functional": "DEV_PORT=`get-port` jest tests/functional",
"test:flow": "flow",
"test:typescript": "tsc --project tests/typescript/tsconfig.json",
"test:eslint": "eslint .",
"dev": "NODE_ENV=dev concurrently 'yarn serve' 'yarn build:dev --watch'",
"serve": "serve -l ${DEV_PORT:-5000} tests/visual",
"build": "yarn clean && yarn build:es && yarn build:esbrowser && yarn build:bundles && yarn build:flow && yarn build:typescript",
"build:es": "babel src -d lib --ignore '**/*.test.js','**/__mocks__'",
"build:esbrowser": "BROWSER_COMPAT=true yarn build:es -d dist/esm",
"build:bundles": "rollup -c .config/rollup.config.js",
"build:dev": "NODE_ENV=dev babel src -d tests/visual/dist",
"build:flow": "flow-copy-source --ignore \"**/*.test.js\" src lib",
"build:typescript": "rimraf dist/typescript; flow-to-ts \"src/**/*.js\" --write --inline-utility-types; node typescript/ts.js --project .config/tsconfig.json --outDir lib; rimraf \"src/**/*.ts\"",
"prepublishOnly": "yarn build"
},
"files": [
"index.d.ts",
"/src",
"/dist",
"/lib"
],
"sideEffects": false,
"prettier": {
"semi": true,
"trailingComma": "es5",
"singleQuote": true,
"proseWrap": "always"
},
"babel": {
"extends": "./.config/babel.config"
},
"jest": {
"preset": "./.config/jest.config"
},
"eslintConfig": {
"extends": "./.config/eslint.config"
},
"resolutions": {
"chokidar": "^3.3.1",
"jest-haste-map": "^25.1.0"
},
"devDependencies": {
"@ampproject/rollup-plugin-closure-compiler": "^0.20.0",
"@atomico/rollup-plugin-sizes": "^1.1.0",
"@babel/cli": "^7.8.3",
"@babel/core": "^7.7.5",
"@babel/plugin-transform-flow-strip-types": "^7.7.4",
"@babel/plugin-transform-runtime": "^7.7.6",
"@babel/preset-env": "^7.7.6",
"@babel/runtime": "^7.7.6",
"@khanacademy/flow-to-ts": "^0.1.4",
"@typescript-eslint/parser": "^2.17.0",
"arg": "^4.1.2",
"babel-core": "7.0.0-bridge.0",
"babel-eslint": "^10.0.3",
"babel-jest": "^25.1.0",
"babel-plugin-add-import-extension": "^1.3.0",
"babel-plugin-annotate-pure-calls": "^0.4.0",
"babel-plugin-dev-expression": "^0.2.2",
"babel-plugin-inline-replace-variables": "^1.3.1",
"babel-plugin-transform-inline-environment-variables": "^0.4.3",
"chalk": "^3.0.0",
"concurrently": "^5.1.0",
"dotenv": "^8.2.0",
"eslint": "^6.8.0",
"eslint-plugin-flowtype": "^4.6.0",
"eslint-plugin-import": "^2.20.0",
"eslint-plugin-unused-imports": "^0.1.2",
"flow-bin": "0.116.1",
"flow-copy-source": "^2.0.9",
"get-port-cli": "^2.0.0",
"glob": "^7.1.6",
"husky": "^4.2.1",
"jest": "^25.1.0",
"jest-environment-jsdom-fourteen": "^1.0.1",
"jest-environment-puppeteer": "^4.4.0",
"jest-image-snapshot": "^2.12.0",
"jest-puppeteer": "^4.4.0",
"poster": "^0.0.9",
"prettier": "^1.19.1",
"pretty-quick": "^2.0.1",
"puppeteer": "^2.1.0",
"rollup": "^1.30.0",
"rollup-plugin-babel": "^4.3.3",
"rollup-plugin-flow-entry": "^0.3.3",
"rollup-plugin-license": "^0.13.0",
"rollup-plugin-replace": "^2.1.0",
"rollup-plugin-terser": "^5.2.0",
"rollup-plugin-visualizer": "^3.3.1",
"serve": "^11.3.0",
"typescript": "^3.7.5"
},
"husky": {
"hooks": {
"pre-commit": "pretty-quick --staged"
}
}
}