UNPKG

simmerjs

Version:

A pure Javascript reverse CSS selector engine which calculates a DOM element's unique CSS selector on the current page.

90 lines (89 loc) 2.76 kB
{ "name": "simmerjs", "description": "A pure Javascript reverse CSS selector engine which calculates a DOM element's unique CSS selector on the current page.", "version": "0.5.6", "author": "Gidi Meir Morris", "main": "lib/simmer.js", "jsnext:main": "modules/simmer.js", "repository": { "type": "git", "url": "https://github.com/gmmorris/simmerjs.git" }, "licenses": [ { "type": "MIT", "url": "https://github.com/gmmorris/simmerjs/blob/master/LICENSE" } ], "dependencies": { "lodash.difference": "^4.5.0", "lodash.flatmap": "^4.5.0", "lodash.isfunction": "^3.0.8", "lodash.take": "^4.1.1", "lodash.takeright": "^4.1.1" }, "scripts": { "test": "npm run testUnit && npm run testIntegration", "testw": "jest .test.js --watch", "testUnit": "jest ./modules", "testIntegration": "jest ./**/integration/*.test.js", "testE2E": "npm run build && nightwatch --config nightwatch.conf.js", "build": "npm run buildBrowser && npm run buildModule", "buildBrowser": "rollup -c", "buildModule": "rm -rf ./lib && babel modules -d lib --ignore .test.js", "lint": "eslint ./modules/**/*.js", "format": "prettier-eslint --write \"modules/**/*.js\"", "formatTests": "prettier-eslint --write \"__tests__/integration/*.js\"", "precommit": "lint-staged", "prepublish": "npm run buildModule" }, "lint-staged": { "*.js": [ "npm run format", "npm run lint", "git add" ] }, "devDependencies": { "babel-cli": "^6.24.1", "babel-jest": "^20.0.3", "babel-plugin-external-helpers": "^6.22.0", "babel-plugin-transform-object-rest-spread": "^6.23.0", "babel-preset-env": "^1.5.1", "babel-preset-es2015": "^6.24.1", "babel-preset-es2016": "^6.24.1", "env2": "^2.2.0", "eslint": "^4.0.0", "eslint-config-standard": "^10.2.1", "eslint-plugin-import": "^2.3.0", "eslint-plugin-jest": "^20.0.3", "eslint-plugin-node": "^5.0.0", "eslint-plugin-promise": "^3.5.0", "eslint-plugin-standard": "^3.0.1", "express": "^4.15.3", "husky": "^0.13.4", "jest": "^20.0.4", "jest-codemods": "^0.10.1", "jsdom": "^11.0.0", "lint-staged": "^4.0.0", "nightwatch": "^0.9.15", "path": "^0.12.7", "prettier": "^1.4.4", "prettier-eslint-cli": "^4.1.1", "regenerator-runtime": "^0.10.5", "rollup": "^0.42.0", "rollup-plugin-babel": "^2.7.1", "rollup-plugin-closure-compiler-js": "^1.0.4", "rollup-plugin-commonjs": "^8.0.2", "rollup-plugin-node-resolve": "^3.0.0", "selenium-download": "^2.0.10", "sinon": "^2.3.2", "standard": "^10.0.2" }, "keywords": [ "Simmer", "css", "css selector", "sizzle" ] }