Permalink
Fetching contributors…
Cannot retrieve contributors at this time
52 lines (51 sloc) 1.32 KB
{
"name": "cuid",
"version": "2.0.0",
"description": "Collision-resistant ids optimized for horizontal scaling and performance. For node and browsers.",
"author": {
"name": "Eric Elliott",
"url": "https://ericelliottjs.com"
},
"main": "index.js",
"browser": {
"./lib/fingerprint.js": "./lib/fingerprint.browser.js"
},
"react-native": {
"./lib/fingerprint.js": "./lib/fingerprint.react-native.js"
},
"files": [
"dist"
],
"keywords": [
"id",
"guid",
"uid",
"unique id",
"uuid"
],
"repository": {
"type": "git",
"url": "https://github.com/ericelliott/cuid.git"
},
"license": "MIT",
"devDependencies": {
"browserify": "14.4.0",
"eslint": "^3.9.1",
"karma": "^1.7.0",
"karma-browserify": "^5.1.1",
"karma-chrome-launcher": "^2.2.0",
"karma-tap": "^3.1.1",
"mkdirp": "^0.5.1",
"tape": "^4.6.2",
"uglify-js": "^2.7.4",
"webworkify": "^1.4.0"
},
"scripts": {
"build": "mkdirp dist && browserify index.js -s cuid -o dist/cuid.js && uglifyjs dist/cuid.js -c -m -o dist/cuid.min.js",
"lint": "eslint index.js lib test",
"test": "npm run lint && npm run test:server && npm run test:browser",
"test:browser": "karma start test/karma.conf.js",
"test:server": "tape test/**/*.js",
"prepublish": "npm run build"
}
}