|
1 | 1 | {
|
2 | 2 | "name": "angular-formly",
|
3 |
| - "version": "6.23.7", |
| 3 | + "version": "0.0.0-semantically-released.0", |
4 | 4 | "author": "Astrism <[email protected]>",
|
5 | 5 | "contributors": [
|
6 | 6 |
|
|
9 | 9 | "homepage": "http://formly-js.github.io/angular-formly/",
|
10 | 10 | "repository": {
|
11 | 11 | "type": "git",
|
12 |
| - "url": "git://github.com/formly-js/angular-formly.git" |
| 12 | + "url": "https://github.com/formly-js/angular-formly.git" |
13 | 13 | },
|
14 | 14 | "main": "dist/formly.js",
|
15 | 15 | "license": "MIT",
|
16 | 16 | "scripts": {
|
17 | 17 | "build:dist": "better-npm-run build:dist",
|
18 | 18 | "build:prod": "better-npm-run build:prod",
|
19 | 19 | "build": "npm run build:dist & npm run build:prod",
|
20 |
| - "test": "better-npm-run test", |
| 20 | + "test": "better-npm-run test test:single", |
21 | 21 | "test:mac": "COVERAGE=true NODE_ENV=test karma start",
|
22 |
| - "test:single": "better-npm-run test:single", |
| 22 | + "test:watch": "better-npm-run test", |
23 | 23 | "test:debug": "better-npm-run test:debug",
|
24 | 24 | "test:ci": "better-npm-run test:ci",
|
25 |
| - "start:linux": "NODE_ENV=test COVERAGE=true karma start", |
26 |
| - "start": "npm run test", |
| 25 | + "start:mac": "npm run test:mac", |
| 26 | + "start": "npm run test:watch", |
27 | 27 | "check-coverage": "istanbul check-coverage --statements 93 --branches 89 --functions 92 --lines 92",
|
| 28 | + "report-coverage": "cat ./coverage/lcov.info | node_modules/.bin/codecov", |
28 | 29 | "code-checks": "eslint src/ --quiet",
|
29 |
| - "release": "npm run build && with-package git commit -am pkg.version && with-package git tag pkg.version && git push && npm publish && git push --tags", |
30 |
| - "release:beta": "npm run release && npm run tag:beta", |
31 |
| - "tag:beta": "with-package npm dist-tag add [email protected] beta" |
| 30 | + "commit": "git-cz", |
| 31 | + "semantic-release": "semantic-release pre && npm run build && npm publish && semantic-release post" |
32 | 32 | },
|
33 | 33 | "betterScripts": {
|
34 | 34 | "build:dist": {
|
|
43 | 43 | },
|
44 | 44 | "command": "webpack --config node_modules/kcd-common-tools/shared/webpack.config.js --progress --colors"
|
45 | 45 | },
|
46 |
| - "test": { |
| 46 | + "test:watch": { |
47 | 47 | "env": {
|
48 | 48 | "COVERAGE": "true",
|
49 | 49 | "NODE_ENV": "test"
|
50 | 50 | },
|
51 | 51 | "command": "karma start"
|
52 | 52 | },
|
53 |
| - "test:single": { |
| 53 | + "test": { |
54 | 54 | "env": {
|
55 | 55 | "COVERAGE": "true",
|
56 | 56 | "NODE_ENV": "test"
|
|
72 | 72 | },
|
73 | 73 | "config": {
|
74 | 74 | "ghooks": {
|
75 |
| - "pre-commit": "npm run code-checks && npm run test:single && npm run check-coverage" |
| 75 | + "pre-commit": "npm run code-checks && npm run test && npm run check-coverage" |
76 | 76 | }
|
77 | 77 | },
|
78 | 78 | "description": "AngularJS directive which takes JSON representing a form and renders to HTML",
|
|
91 | 91 | "better-npm-run": "benoror/better-npm-run#0.0.1",
|
92 | 92 | "chai": "3.2.0",
|
93 | 93 | "codecov.io": "0.1.5",
|
| 94 | + "commitizen": "1.0.4", |
| 95 | + "cz-conventional-changelog": "1.1.0", |
94 | 96 | "eslint": "0.24.1",
|
95 | 97 | "eslint-loader": "0.14.2",
|
96 | 98 | "eslint-plugin-mocha": "0.4.0",
|
|
115 | 117 | "ng-annotate-loader": "0.0.6",
|
116 | 118 | "node-libs-browser": "0.5.2",
|
117 | 119 | "raw-loader": "0.5.1",
|
| 120 | + "semantic-release": "^4.3.4", |
118 | 121 | "sinon": "1.15.4",
|
119 | 122 | "sinon-chai": "2.8.0",
|
120 | 123 | "uglify-loader": "1.2.0",
|
|
129 | 132 | "kcdCommon": {
|
130 | 133 | "webpack": "scripts/webpack-overrides.js",
|
131 | 134 | "karma": "scripts/karma-overrides.js"
|
| 135 | + }, |
| 136 | + "czConfig": { |
| 137 | + "path": "node_modules/cz-conventional-changelog" |
132 | 138 | }
|
133 | 139 | }
|
0 commit comments