forked from floating-ui/floating-ui
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
119 lines (119 loc) · 4.13 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
{
"name": "@popperjs/core",
"version": "2.4.0",
"description": "Tooltip and Popover Positioning Engine",
"main": "dist/cjs/popper.js",
"main:umd": "dist/umd/popper.js",
"module": "lib/index.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"
},
"files": [
"index.d.ts",
"/dist",
"/lib"
],
"sideEffects": false,
"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 && replace-in-files --string=__DEV__ --replacement=false 'lib/**/*.flow'",
"build:typescript": "rimraf dist/typescript; flow-to-ts \"src/**/*.js\" --write --inline-utility-types; tsc-silent --project .config/tsconfig.json --createSourceFile .config/createSourceFile.js --suppress @; rimraf \"src/**/*.ts\"",
"prepublishOnly": "yarn build && pinst --disable",
"postinstall": "husky install .config/husky",
"postpublish": "pinst --enable"
},
"prettier": {
"semi": true,
"trailingComma": "es5",
"singleQuote": true,
"proseWrap": "always"
},
"babel": {
"extends": "./.config/babel.config"
},
"jest": {
"preset": "./.config/jest.config"
},
"eslintConfig": {
"extends": "./.config/eslint.config"
},
"husky": {
"hooks": {
"pre-commit": "pretty-quick --staged"
}
},
"devDependencies": {
"@ampproject/rollup-plugin-closure-compiler": "^0.26.0",
"@atomico/rollup-plugin-sizes": "^1.1.4",
"@babel/cli": "^7.12.17",
"@babel/core": "^7.12.17",
"@babel/plugin-transform-flow-strip-types": "^7.12.13",
"@babel/plugin-transform-runtime": "^7.12.17",
"@babel/preset-env": "^7.12.17",
"@fezvrasta/tsc-silent": "^1.3.0",
"@khanacademy/flow-to-ts": "^0.3.0",
"@rollup/plugin-babel": "^5.3.0",
"@rollup/plugin-replace": "^2.3.4",
"babel-eslint": "^10.0.3",
"babel-jest": "^26.6.3",
"babel-plugin-add-import-extension": "^1.4.4",
"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",
"concurrently": "^5.3.0",
"dotenv": "^8.2.0",
"eslint": "^7.20.0",
"eslint-plugin-flowtype": "^5.2.2",
"eslint-plugin-import": "^2.22.1",
"eslint-plugin-unused-imports": "^1.1.0",
"flow-bin": "^0.139.0",
"flow-copy-source": "^2.0.9",
"get-port-cli": "^2.0.0",
"husky": "^5.0.9",
"jest": "^26.6.3",
"jest-environment-jsdom-sixteen": "^1.0.3",
"jest-environment-puppeteer": "^4.4.0",
"jest-image-snapshot": "^4.3.0",
"jest-puppeteer": "^4.4.0",
"pinst": "^2.1.4",
"poster": "^0.0.9",
"prettier": "^2.2.1",
"pretty-quick": "^3.1.0",
"puppeteer": "^7.1.0",
"replace-in-files-cli": "^1.0.0",
"rollup": "^2.39.0",
"rollup-plugin-flow-entry": "^0.3.3",
"rollup-plugin-license": "^2.2.0",
"rollup-plugin-terser": "^7.0.2",
"rollup-plugin-visualizer": "^4.2.0",
"serve": "^11.3.2",
"typescript": "^4.1.5"
}
}