You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
153 lines
5.0 KiB
153 lines
5.0 KiB
{
|
|
"_from": "@popperjs/core@^2.5.4",
|
|
"_id": "@popperjs/core@2.6.0",
|
|
"_inBundle": false,
|
|
"_integrity": "sha1-8CIZWv38lC4IjuIQEoWh0xx9cn8=",
|
|
"_location": "/@popperjs/core",
|
|
"_phantomChildren": {},
|
|
"_requested": {
|
|
"type": "range",
|
|
"registry": true,
|
|
"raw": "@popperjs/core@^2.5.4",
|
|
"name": "@popperjs/core",
|
|
"escapedName": "@popperjs%2fcore",
|
|
"scope": "@popperjs",
|
|
"rawSpec": "^2.5.4",
|
|
"saveSpec": null,
|
|
"fetchSpec": "^2.5.4"
|
|
},
|
|
"_requiredBy": [
|
|
"/@vant/popperjs"
|
|
],
|
|
"_resolved": "https://registry.npm.taobao.org/@popperjs/core/download/@popperjs/core-2.6.0.tgz",
|
|
"_shasum": "f022195afdfc942e088ee2101285a1d31c7d727f",
|
|
"_spec": "@popperjs/core@^2.5.4",
|
|
"_where": "/Users/linhuakun/Downloads/nodejs/codewhy/node_modules/@vant/popperjs",
|
|
"author": {
|
|
"name": "Federico Zivolo",
|
|
"email": "federico.zivolo@gmail.com"
|
|
},
|
|
"babel": {
|
|
"extends": "./.config/babel.config"
|
|
},
|
|
"bugs": {
|
|
"url": "https://github.com/popperjs/popper-core/issues"
|
|
},
|
|
"bundleDependencies": false,
|
|
"deprecated": false,
|
|
"description": "Tooltip and Popover Positioning Engine",
|
|
"devDependencies": {
|
|
"@ampproject/rollup-plugin-closure-compiler": "^0.25.2",
|
|
"@atomico/rollup-plugin-sizes": "^1.1.4",
|
|
"@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",
|
|
"@fezvrasta/tsc-silent": "^1.3.0",
|
|
"@khanacademy/flow-to-ts": "^0.1.7",
|
|
"@rollup/plugin-babel": "^5.0.0",
|
|
"@rollup/plugin-replace": "^2.3.2",
|
|
"babel-eslint": "^10.0.3",
|
|
"babel-jest": "^25.5.1",
|
|
"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",
|
|
"concurrently": "^5.2.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.139.0",
|
|
"flow-copy-source": "^2.0.9",
|
|
"get-port-cli": "^2.0.0",
|
|
"husky": "^4.2.1",
|
|
"jest": "^25.5.1",
|
|
"jest-environment-jsdom-sixteen": "^1.0.3",
|
|
"jest-environment-puppeteer": "^4.4.0",
|
|
"jest-image-snapshot": "^3.1.0",
|
|
"jest-puppeteer": "^4.4.0",
|
|
"poster": "^0.0.9",
|
|
"prettier": "^2.0.5",
|
|
"pretty-quick": "^2.0.1",
|
|
"puppeteer": "^3.0.2",
|
|
"replace-in-files-cli": "^0.3.1",
|
|
"rollup": "^2.7.3",
|
|
"rollup-plugin-flow-entry": "^0.3.3",
|
|
"rollup-plugin-license": "^2.0.0",
|
|
"rollup-plugin-terser": "^5.2.0",
|
|
"rollup-plugin-visualizer": "^4.0.3",
|
|
"serve": "^11.3.0",
|
|
"typescript": "^3.7.5"
|
|
},
|
|
"eslintConfig": {
|
|
"extends": "./.config/eslint.config"
|
|
},
|
|
"files": [
|
|
"index.d.ts",
|
|
"/dist",
|
|
"/lib"
|
|
],
|
|
"funding": {
|
|
"type": "opencollective",
|
|
"url": "https://opencollective.com/popperjs"
|
|
},
|
|
"homepage": "https://github.com/popperjs/popper-core#readme",
|
|
"husky": {
|
|
"hooks": {
|
|
"pre-commit": "pretty-quick --staged"
|
|
}
|
|
},
|
|
"jest": {
|
|
"preset": "./.config/jest.config"
|
|
},
|
|
"keywords": [
|
|
"tooltip",
|
|
"popover",
|
|
"dropdown",
|
|
"popup",
|
|
"popper",
|
|
"positioning engine"
|
|
],
|
|
"license": "MIT",
|
|
"main": "dist/cjs/popper.js",
|
|
"main:umd": "dist/umd/popper.js",
|
|
"module": "lib/index.js",
|
|
"name": "@popperjs/core",
|
|
"prettier": {
|
|
"semi": true,
|
|
"trailingComma": "es5",
|
|
"singleQuote": true,
|
|
"proseWrap": "always"
|
|
},
|
|
"repository": {
|
|
"type": "git",
|
|
"url": "git+https://github.com/popperjs/popper-core.git"
|
|
},
|
|
"scripts": {
|
|
"build": "yarn clean && yarn build:es && yarn build:esbrowser && yarn build:bundles && yarn build:flow && yarn build:typescript",
|
|
"build:bundles": "rollup -c .config/rollup.config.js",
|
|
"build:dev": "NODE_ENV=dev babel src -d tests/visual/dist",
|
|
"build:es": "babel src -d lib --ignore '**/*.test.js','**/__mocks__'",
|
|
"build:esbrowser": "BROWSER_COMPAT=true yarn build:es -d dist/esm",
|
|
"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\"",
|
|
"clean": "rimraf lib && rimraf dist && rimraf test/visual/dist",
|
|
"dev": "NODE_ENV=dev concurrently 'yarn serve' 'yarn build:dev --watch'",
|
|
"prepublishOnly": "yarn build",
|
|
"serve": "serve -l ${DEV_PORT:-5000} tests/visual",
|
|
"test": "yarn test:unit && yarn test:functional",
|
|
"test:eslint": "eslint .",
|
|
"test:flow": "flow",
|
|
"test:functional": "DEV_PORT=`get-port` jest tests/functional",
|
|
"test:typescript": "tsc --project tests/typescript/tsconfig.json",
|
|
"test:unit": "jest --coverage src"
|
|
},
|
|
"sideEffects": false,
|
|
"unpkg": "dist/umd/popper.min.js",
|
|
"version": "2.6.0"
|
|
}
|