123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081 |
- {
- "name": "collect.js",
- "version": "4.36.1",
- "description": "Convenient and dependency free wrapper for working with arrays and objects.",
- "main": "dist/index.js",
- "typings": "index.d.ts",
- "scripts": {
- "all": "npm run build && npm test && npm run eslint && npm run validate-version",
- "pretest": "npm run transpile",
- "test": "mocha test/tests.js",
- "transpile": "rm -rf dist && babel src --quiet --out-dir dist",
- "readme": "node bundler/bundle.js",
- "bundle.development": "webpack-cli dist/index.js --output build/collect.js --mode development --output-library collect",
- "bundle.production": "webpack-cli dist/index.js --output build/collect.min.js --mode production --output-library collect",
- "build": "npm run transpile && npm run bundle.development && npm run bundle.production && npm run readme",
- "eslint": "npm run eslint:fix",
- "eslint:fix": "npm run eslint:js -- --fix && npm run eslint:md -- --fix",
- "eslint:strict": "npm run eslint:js && npm run eslint:md",
- "eslint:js": "eslint src/ test/",
- "eslint:md": "eslint --ext md README.md docs/ --rule strict:off --rule no-undef:off --rule no-unused-vars:off --rule func-names:off --rule no-console:off --rule consistent-return:off --rule import/no-unresolved:off --rule import/extensions:off --parser-options sourceType:module",
- "coverage": "npm run transpile && nyc mocha test/tests.js",
- "reporter": "nyc report --reporter=html",
- "docs:dev": "vuepress dev docs",
- "docs:build": "vuepress build docs",
- "validate-version": "",
- "prepublishOnly": "npm run all"
- },
- "babel": {
- "presets": [
- "@babel/preset-env"
- ]
- },
- "repository": {
- "type": "git",
- "url": "https://github.com/ecrmnn/collect.js"
- },
- "keywords": [
- "collections",
- "collection",
- "collect",
- "map",
- "filter",
- "group by",
- "reduce",
- "transform",
- "pluck",
- "pie",
- "mapWithKeys",
- "laravel",
- "whereIn",
- "values",
- "unique"
- ],
- "author": {
- "name": "Daniel Eckermann",
- "email": "danieleckermann@gmail.com",
- "url": "https://danieleckermann.com"
- },
- "license": "MIT",
- "bugs": {
- "url": "https://github.com/ecrmnn/collect.js/issues"
- },
- "homepage": "https://github.com/ecrmnn/collect.js",
- "devDependencies": {
- "@babel/cli": "^7.17.10",
- "@babel/core": "^7.18.2",
- "@babel/polyfill": "^7.12.1",
- "@babel/preset-env": "^7.18.2",
- "benchmark": "^2.1.0",
- "chai": "^4.1.2",
- "eslint": "^4.19.1",
- "eslint-config-airbnb-base": "^13.2.0",
- "eslint-plugin-import": "^2.18.0",
- "eslint-plugin-markdown": "^1.0.0",
- "hoax.js": "^1.0.0",
- "mocha": "^3.5.2",
- "nyc": "^11.0.2",
- "webpack": "^4.36.1",
- "webpack-cli": "^3.3.6"
- }
- }
|