-
Notifications
You must be signed in to change notification settings - Fork 36
/
package.json
33 lines (33 loc) · 1.02 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
{
"name": "decko",
"version": "1.2.1",
"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"
}
}