UNPKG

babel-plugin-transform-negative-indices

Version:
45 lines (44 loc) 1.4 kB
{ "name": "babel-plugin-transform-negative-indices", "version": "1.0.3", "description": "Turn negative array indices into offsets from the end of the array", "repository": "https://github.com/chocolateboy/babel-plugin-transform-negative-indices", "author": "Dan Rouse <dan@rouse.house>", "license": "MIT", "main": "dist/index.js", "module": "dist/index.esm.js", "scripts": { "build": "cross-env NODE_ENV=production bili --no-map --format cjs,esm -d dist src/index.js", "clean": "shx rm -rf dist", "doctoc": "markdown-toc --bullets=- -i README.md", "prepublishOnly": "run-s clean doctoc test", "rebuild": "run-s clean build", "test": "run-s build test:unit", "test:unit": "ava --verbose ./test/index.js" }, "files": [ "dist/index.esm.js", "dist/index.js" ], "browserslist": "maintained node versions", "devDependencies": { "@babel/core": "^7.9.6", "ava": "^3.8.2", "bili": "^4.10.0", "cross-env": "^7.0.2", "npm-run-all": "^4.1.5", "prettier": "^2.0.5", "shx": "^0.3.2" }, "keywords": [ "array", "array-element", "array-index", "array-indices", "babel-plugin", "last-element", "last-index", "negative-index", "negative-indices" ] }