diff options
author | Daniel Baumann <daniel.baumann@progress-linux.org> | 2021-11-20 06:45:41 +0000 |
---|---|---|
committer | Daniel Baumann <daniel.baumann@progress-linux.org> | 2021-11-20 06:45:41 +0000 |
commit | 9d45e42dc0298ea8241132142d3100358fe99dc4 (patch) | |
tree | 8435105a23089a82f8298490dff6e3e4218930b4 /package.json | |
parent | Initial commit. (diff) | |
download | decko-766b58327b444ca085a4eedb61b6ba8eee0bc554.tar.xz decko-766b58327b444ca085a4eedb61b6ba8eee0bc554.zip |
Adding upstream version 1.2.0.upstream/1.2.0upstream
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'package.json')
-rw-r--r-- | package.json | 33 |
1 files changed, 33 insertions, 0 deletions
diff --git a/package.json b/package.json new file mode 100644 index 0000000..c5cf1dc --- /dev/null +++ b/package.json @@ -0,0 +1,33 @@ +{ + "name": "decko", + "version": "1.2.0", + "main": "dist/decko.js", + "types": "dist/decko.d.ts", + "description": "A collection of the most useful property decorators.", + "scripts": { + "build": "mkdir -p dist && babel -f src/decko.js -s -o $npm_package_main < src/decko.js && npm run build:ts", + "build:ts": "cp src/decko.d.ts dist/", + "test": "npm run test:ts && eslint {src,tests}/**.js && mocha --compilers js:babel/register tests/**/*.js", + "test:ts": "tsc -p ./", + "style:ts": "tsfmt -r", + "prepublish": "npm run build", + "release": "npm run build && git commit -am $npm_package_version && git tag $npm_package_version && git push && git push --tags && npm publish" + }, + "files": [ + "src", + "dist" + ], + "repository": { + "type": "git", + "url": "git://github.com/developit/decko.git" + }, + "devDependencies": { + "babel": "^5.8.21", + "babel-eslint": "^4.1.6", + "chai": "^3.2.0", + "eslint": "^1.10.3", + "mocha": "^2.3.0", + "typescript": "2.1.6", + "typescript-formatter": "4.1.1" + } +} |