-
Notifications
You must be signed in to change notification settings - Fork 123
/
package.json
65 lines (65 loc) · 2.05 KB
/
package.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
{
"name": "cuid",
"description": "Collision-resistant ids optimized for horizontal scaling and performance. For node and browsers.",
"version": "3.0.0",
"author": {
"name": "Eric Elliott",
"url": "https://ericelliottjs.com"
},
"browser": {
"./lib/fingerprint.js": "./lib/fingerprint.browser.js",
"./lib/getRandomValue.js": "./lib/getRandomValue.browser.js"
},
"devDependencies": {
"babel-polyfill": "6.26.0",
"babel-preset-env": "1.7.0",
"babel-register": "6.26.0",
"browserify": "17.0.0",
"eslint": "8.32.0",
"eslint-plugin-testcafe": "0.2.1",
"http-server": "14.1.1",
"mkdirp": "2.1.3",
"riteway": "7.0.0",
"tape": "5.6.3",
"testcafe": "2.2.0",
"uglify-js": "3.17.4",
"updtr": "4.0.0",
"watchify": "4.0.0"
},
"files": [
"lib",
"dist",
"index.js",
"index.d.ts"
],
"jsdelivr": "dist/cuid.min.js",
"keywords": [
"guid",
"id",
"uid",
"unique id",
"uuid"
],
"license": "MIT",
"main": "index.js",
"react-native": {
"./lib/fingerprint.js": "./lib/fingerprint.react-native.js",
"./lib/getRandomValue.js": "./lib/getRandomValue.react-native.js"
},
"repository": {
"type": "git",
"url": "https://github.com/ericelliott/cuid.git"
},
"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",
"prepare": "npm run build",
"test": "npm run -s lint && npm run -s test:server && npm run -s test:random && npm run -s test:browser && npm run -s test:worker",
"test:browser": "testcafe chrome ./test/browser.js",
"test:worker": "browserify ./test/worker/worker.js -s cuid -o ./test/worker/worker.bundled.js && testcafe chrome ./test/worker.js --app \"http-server ./test/worker -s\"",
"test:server": "tape -r babel-register -r babel-polyfill test/server.js",
"test:random": "node -r babel-register -r babel-polyfill test/getRandomValue.test.js",
"update": "updtr"
},
"unpkg": "dist/cuid.min.js"
}