|
| 1 | +{ |
| 2 | + "name": "simple-element-resize-detector", |
| 3 | + "amdName": "simpleElementResizeDetector", |
| 4 | + "version": "1.0.0", |
| 5 | + "description": "Observes resizing of an element using a hidden iframe.", |
| 6 | + "main": "dist/simple-element-resize-detector.js", |
| 7 | + "jsnext:main": "index.js", |
| 8 | + "scripts": { |
| 9 | + "build": "npm-run-all transpile minify size", |
| 10 | + "transpile": "rollup -c rollup.config.js", |
| 11 | + "minify": "uglifyjs $npm_package_main -cm -o $npm_package_main -p relative --in-source-map ${npm_package_main}.map --source-map ${npm_package_main}.map", |
| 12 | + "size": "echo \"gzip size: $(gzip-size $npm_package_main | pretty-bytes)\"", |
| 13 | + "test": "eslint src test", |
| 14 | + "prepublish": "npm-run-all build test", |
| 15 | + "release": "npm run -s build && git commit -am $npm_package_version && git tag $npm_package_version && git push && git push --tags && npm publish" |
| 16 | + }, |
| 17 | + "files": [ |
| 18 | + "index.js", |
| 19 | + "dist" |
| 20 | + ], |
| 21 | + "keywords": [], |
| 22 | + "repository": { |
| 23 | + "type": "git", |
| 24 | + "url": "git+https://github.com/developit/simple-element-resize-detector.git" |
| 25 | + }, |
| 26 | + "author": "Jason Miller <jason@developit.ca>", |
| 27 | + "license": "MIT", |
| 28 | + "devDependencies": { |
| 29 | + "babel-core": "^6.6.4", |
| 30 | + "babel-eslint": "^7.0.0", |
| 31 | + "babel-preset-es2015": "^6.9.0", |
| 32 | + "babel-preset-stage-0": "^6.5.0", |
| 33 | + "eslint": "^3.1.0", |
| 34 | + "gzip-size-cli": "^1.0.0", |
| 35 | + "mkdirp": "^0.5.1", |
| 36 | + "npm-run-all": "^2.3.0", |
| 37 | + "pretty-bytes-cli": "^1.0.0", |
| 38 | + "rollup": "^0.36.3", |
| 39 | + "rollup-plugin-babel": "^2.4.0", |
| 40 | + "rollup-plugin-es3": "^1.0.3", |
| 41 | + "uglify-js": "^2.6.2" |
| 42 | + } |
| 43 | +} |
0 commit comments