49 lines
1.2 KiB
JSON
49 lines
1.2 KiB
JSON
{
|
|
"name": "watch-size",
|
|
"version": "2.0.0",
|
|
"description": "Watch the size changes of a DOM element",
|
|
"author": "Jonathan Neal <jonathantneal@hotmail.com>",
|
|
"license": "CC0-1.0",
|
|
"repository": "jonathantneal/watch-size",
|
|
"homepage": "https://github.com/jonathantneal/watch-size#readme",
|
|
"bugs": "https://github.com/jonathantneal/watch-size/issues",
|
|
"main": "index.cjs.js",
|
|
"module": "index.es.mjs",
|
|
"files": [
|
|
"index.cjs.js",
|
|
"index.es.mjs"
|
|
],
|
|
"scripts": {
|
|
"prepublishOnly": "npm test",
|
|
"pretest": "rollup -c .rollup.js --silent",
|
|
"test": "echo 'Running tests...'; npm run test:js",
|
|
"test:js": "eslint *.js --cache --ignore-path .gitignore --quiet"
|
|
},
|
|
"devDependencies": {
|
|
"babel-core": "^6.26.3",
|
|
"babel-eslint": "^8.2.6",
|
|
"babel-preset-env": "^1.7.0",
|
|
"eslint": "^5.2.0",
|
|
"eslint-config-dev": "^2.0.0",
|
|
"pre-commit": "^1.2.2",
|
|
"rollup": "^0.63.4",
|
|
"rollup-plugin-babel": "^3.0.7",
|
|
"rollup-plugin-uglify-es": "0.0.1"
|
|
},
|
|
"eslintConfig": {
|
|
"extends": "dev",
|
|
"parser": "babel-eslint"
|
|
},
|
|
"keywords": [
|
|
"dark",
|
|
"mode",
|
|
"modes",
|
|
"light",
|
|
"interface",
|
|
"css",
|
|
"media",
|
|
"query",
|
|
"queries"
|
|
]
|
|
}
|