-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
63 lines (63 loc) · 3.08 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": "rect-utils",
"scope": "beatthat",
"version": "1.1.0",
"description": "A set of utility functions for the Unity's Rect and RectTransform, provided as extension methods",
"main": "index.js",
"repository": {
"type": "git",
"url": "git+https://github.com/beatthat/rect-utils.git"
},
"files": [
"index.js",
"scripts",
"src",
"Runtime",
"Samples",
"README.md",
"readmefiles"
],
"author": "[email protected]",
"license": "MIT",
"bugs": {
"url": "https://github.com/beatthat/rect-utils/issues"
},
"homepage": "https://github.com/beatthat/rect-utils",
"scripts": {
"postinstall": "node scripts/postinstall.js",
"install:test": "npm pack && cp ${npm_package_name}-${npm_package_version}.tgz ${npm_package_name}-latest.tgz && cd test && npm run clean && npm install",
"clean": "rm -f *.tgz package-lock.json && cd test && npm run clean",
"sync:test2src": "rsync -rv --include '*/' --include '*.cs' --exclude '*' --prune-empty-dirs test/Assets/Plugins/${npm_package_scope}/${npm_package_name}/ ./src/${npm_package_name}/",
"pub:tag": "git add -A && git commit -m ${npm_package_version} && git tag -a ${npm_package_version} -m ${npm_package_version} && git push origin master && git push origin ${npm_package_version}",
"preinstall:test": "rm -f *.tgz",
"template:update": "node scripts/template-update.js",
"cp:test2src": "cd test && node scripts/cp-test2src.js",
"overwrite:test2src": "cd test && node scripts/overwrite-test2src.js",
"version": "git add -A",
"postversion": "git push && git push --tags && npm run clean",
"template-update": "node scripts/template-update.js",
"pretest-install": "rm -f *.tgz",
"test-install": "npm pack && cp ${npm_package_name}-${npm_package_version}.tgz ${npm_package_name}-latest.tgz && cd test && npm run clean && npm install",
"test-cp2src": "cd test && node scripts/cp2src.js",
"test-overwrite2src": "cd test && node scripts/overwrite2src.js",
"docs-generate": "node scripts/docs-generate.js",
"//": {
"clean": "deletes all non source files, products of tests etc",
"template-update": "pulls the latest version of the https://github.com/beatthat/unpm-unity-package-template.git and syncs changes to this package",
"test-install": "installs the 'test' package, which can be used for development",
"test-cp2src": "copies changes from 'test' package back to package src but does NOT delete removed files",
"test-overwrite2src": "copies changes from 'test' package back to src. Deletes src before the copy, so effectively whatever is in test becomes the src",
"npm version [patch|minor|major]": "after everything commited, use npm version to push a tagged release with bumped version"
}
},
"dependencies": {
"mkdirp": "^0.5.1",
"ncp": "^2.0.0",
"pools": "github:beatthat/pools#semver:^1.0.0",
"transform-path-ext": "github:beatthat/transform-path-ext#semver:^1.0.0",
"path": "^0.12.7",
"unity-npm-utils": "github:beatthat/unity-npm-utils#semver:^1.0.0"
},
"devDependencies": {},
"keywords": []
}