1 | {
|
2 | "name": "@popperjs/core",
|
3 | "version": "2.0.0-next.5",
|
4 | "main": "dist/cjs/popper.js",
|
5 | "main:umd": "dist/umd/popper.js",
|
6 | "module": "lib/index.js",
|
7 | "author": "Federico Zivolo <fzivolo@quid.com>",
|
8 | "license": "MIT",
|
9 | "scripts": {
|
10 | "clean": "rimraf lib && rimraf dist && rimraf test/visual/dist",
|
11 | "test": "jest --coverage --watch",
|
12 | "test:ci": "jest --coverage",
|
13 | "dev": "concurrently 'yarn dev:serve' 'yarn dev:bundles --watch'",
|
14 | "dev:serve": "serve tests/visual",
|
15 | "dev:bundles": "cross-env NODE_ENV=development rollup -c rollup.config.js",
|
16 | "build": "yarn clean && yarn build:es && yarn build:bundles && yarn build:flow",
|
17 | "build:es": "babel src -d lib --ignore '**/*.test.js','**/__mocks__'",
|
18 | "build:bundles": "rollup -c rollup.config.js",
|
19 | "build:flow": "flow-copy-source src dist/cjs --ignore '{__mocks__/*,*.test}.js'",
|
20 | "precommit": "pretty-quick --staged"
|
21 | },
|
22 | "files": [
|
23 | "/dist",
|
24 | "/lib"
|
25 | ],
|
26 | "sideEffects": false,
|
27 | "prettier": {
|
28 | "semi": true,
|
29 | "trailingComma": "es5",
|
30 | "singleQuote": true
|
31 | },
|
32 | "babel": {
|
33 | "plugins": [
|
34 | "@babel/plugin-transform-flow-strip-types",
|
35 | "@babel/plugin-proposal-class-properties",
|
36 | "@babel/plugin-proposal-object-rest-spread"
|
37 | ],
|
38 | "env": {
|
39 | "test": {
|
40 | "presets": [
|
41 | "@babel/env"
|
42 | ]
|
43 | }
|
44 | }
|
45 | },
|
46 | "jest": {
|
47 | "setupFiles": [
|
48 | "raf/polyfill"
|
49 | ]
|
50 | },
|
51 | "devDependencies": {
|
52 | "@babel/cli": "^7.1.5",
|
53 | "@babel/core": "^7.1.5",
|
54 | "@babel/plugin-proposal-class-properties": "^7.1.0",
|
55 | "@babel/plugin-proposal-object-rest-spread": "^7.0.0",
|
56 | "@babel/plugin-transform-flow-strip-types": "^7.0.0",
|
57 | "@babel/preset-env": "^7.1.5",
|
58 | "babel-core": "7.0.0-bridge.0",
|
59 | "babel-jest": "^23.6.0",
|
60 | "concurrently": "^4.0.1",
|
61 | "cross-env": "^5.2.0",
|
62 | "flow-bin": "0.112.0",
|
63 | "flow-copy-source": "^2.0.2",
|
64 | "husky": "^1.1.3",
|
65 | "jest": "^23.6.0",
|
66 | "prettier": "^1.15.1",
|
67 | "pretty-quick": "^1.8.0",
|
68 | "raf": "^3.4.1",
|
69 | "rollup": "^0.67.0",
|
70 | "rollup-plugin-babel": "^4.0.3",
|
71 | "rollup-plugin-bundle-size": "^1.0.2",
|
72 | "rollup-plugin-replace": "^2.1.0",
|
73 | "rollup-plugin-terser": "^3.0.0",
|
74 | "serve": "^10.0.2"
|
75 | }
|
76 | }
|