|
5 | 5 | "main": "lib/index.js", |
6 | 6 | "typings": "lib/index.d.ts", |
7 | 7 | "scripts": { |
8 | | - "prepublish": "npm run tsc:compile", |
9 | | - "coverage": "npm run test:cov && npm run test:remap", |
10 | | - "tslint": "tslint ./src/*.ts", |
11 | | - "release:major": "npm version major && npm publish && git push --follow-tags", |
12 | | - "release:minor": "npm version minor && npm publish && git push --follow-tags", |
13 | | - "release:patch": "npm version patch && npm publish && git push --follow-tags", |
14 | | - "test": "npm run tsc && mocha --reporter spec --check-leaks --bail test/", |
15 | | - "test:cov": "istanbul cover -x \"examples/**\" node_modules/mocha/bin/_mocha -- --reporter dot --check-leaks test/ && npm run test:remap", |
16 | | - "test:remap": "./node_modules/.bin/remap-istanbul -i coverage/coverage.json -o coverage/lcov-report -t html", |
17 | | - "test:travis": "istanbul cover node_modules/mocha/bin/_mocha --report lcovonly -- --reporter spec --check-leaks test/", |
18 | | - "tsc": "./node_modules/typescript/bin/tsc", |
19 | | - "tsc:compile": "./node_modules/typescript/bin/tsc --project tsconfig.compile.json" |
| 8 | + "clean": "rimraf 'test/**/*.{js,js.map}' 'src/**/*.{js,js.map}'", |
| 9 | + "tslint": "tslint 'src/**/*.ts?(x)'", |
| 10 | + "test": "npm run clean && npm run tsc && npm run tslint && NODE_ENV=test nyc --reporter=html --reporter=text _mocha --recursive", |
| 11 | + "coveralls:travis": "nyc report --reporter=text-lcov | coveralls", |
| 12 | + "tsc": "tsc --project tsconfig.json", |
| 13 | + "tsc:compile": "rimraf ./lib && tsc --project tsconfig.compile.json", |
| 14 | + "doc:serve": "concurrently \"tsc --project tsconfig.compile.json -w\" \"docsify serve ./docs\" \"cd docs/_build && nodemon --delay 2.5 -e ts --watch ../../lib build-api.js\"", |
| 15 | + "doc:build": "exit 0", |
| 16 | + "prepublish": "npm run tsc:compile" |
20 | 17 | }, |
21 | 18 | "repository": { |
22 | 19 | "type": "git", |
|
37 | 34 | }, |
38 | 35 | "homepage": "https://github.com/romakita/json-properties", |
39 | 36 | "devDependencies": { |
40 | | - "@types/chai": "^3.4.32", |
41 | | - "@types/mocha": "^2.2.31", |
42 | | - "@types/node": "^7.0.13", |
43 | | - "chai": "^3.5.0", |
44 | | - "istanbul": "^0.4.2", |
45 | | - "mocha": "^3.3.0", |
46 | | - "remap-istanbul": "^0.9.5", |
47 | | - "ts-node": "^3.0.2", |
48 | | - "tslint": "^5.1.0", |
49 | | - "typescript": "^2.2.0" |
| 37 | + "@types/chai": "^4.0.8", |
| 38 | + "@types/mocha": "^2.2.44", |
| 39 | + "@types/node": "^8.0.54", |
| 40 | + "chai": "^4.1.2", |
| 41 | + "coveralls": "^3.0.0", |
| 42 | + "mocha": "^4.0.1", |
| 43 | + "nyc": "^11.4.0", |
| 44 | + "semantic-release": "^7.0.2", |
| 45 | + "ts-node": "^3.3.0", |
| 46 | + "tslint": "^5.8.0", |
| 47 | + "typescript": "^2.5.0" |
| 48 | + }, |
| 49 | + "release": { |
| 50 | + "debug": false, |
| 51 | + "branch": "production" |
| 52 | + }, |
| 53 | + "gflow": { |
| 54 | + "master": "master", |
| 55 | + "production": "production" |
50 | 56 | } |
51 | 57 | } |
0 commit comments