-
Notifications
You must be signed in to change notification settings - Fork 6
/
Copy pathpackage.json
63 lines (63 loc) · 2.06 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
{
"name": "nid",
"version": "2.0.1",
"description": "Nice clean-mouthed random id generation, without any swearing!",
"main": "nid.js",
"browser": "nid.min.js",
"type": "commonjs",
"types": "nid.d.ts",
"homepage": "https://github.com/rjrodger/nid",
"keywords": [
"random",
"unique",
"id",
"identifier",
"generate",
"generator",
"generation",
"swear",
"curse"
],
"author": "Richard Rodger (http://richardrodger.com)",
"repository": {
"type": "git",
"url": "git://github.com/rjrodger/nid.git"
},
"scripts": {
"test": "jest --coverage",
"test-pure": "jest --coverage --config jest.config.pure.js",
"test-some": "jest -t",
"test-some-pure": "jest --config jest.config.pure.js -t",
"test-watch": "jest --coverage --watchAll",
"test-web": "npm run build && npm run build-web && browserify -i util -o test/web.js -e test/entry.js -im && open test/web.html",
"watch": "tsc -w -d",
"build": "tsc -d",
"build-web": "cp nid.js nid.min.js && browserify -i util -o nid.min.js -e nid.web.js -s Nid -im -p tinyify",
"clean": "rm -rf node_modules yarn.lock package-lock.json",
"reset": "npm run clean && npm i && npm run build && npm test",
"repo-tag": "REPO_VERSION=`node -e \"console.log(require('./package').version)\"` && echo TAG: v$REPO_VERSION && git commit -a -m v$REPO_VERSION && git push && git tag v$REPO_VERSION && git push --tags;",
"repo-publish": "npm run clean && npm i && npm run repo-publish-quick",
"repo-publish-quick": "npm run build && npm run test && npm run build-web && npm run test-web && npm run repo-tag && npm publish --access public --registry https://registry.npmjs.org "
},
"license": "MIT",
"engines": {
"node": ">=12"
},
"files": [
"*.js",
"*.map",
"*.ts",
"LICENSE",
"README.md"
],
"devDependencies": {
"@types/jest": "^29.2.4",
"browserify": "^17.0.0",
"esbuild": "^0.16.12",
"esbuild-jest": "^0.5.0",
"jest": "^29.3.1",
"tinyify": "^4.0.0",
"ts-jest": "^29.0.3",
"typescript": "^4.9.4"
}
}