Skip to content

Commit 422397f

Browse files
authored
Merge pull request #8 from mojotech/em/npm-prep
Prep for publishing as npm package
2 parents 4448263 + 6027efc commit 422397f

File tree

11 files changed

+45
-366
lines changed

11 files changed

+45
-366
lines changed

.npmignore

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
.git/
2+
.rpt2_cache/
3+
bin/
4+
coverage/
5+
nix-files/
6+
node_modules/
7+
src/
8+
test/
9+
.gitignore
10+
.prettierrc
11+
.travis.yml
12+
rollup.config.ts
13+
tags
14+
tsconfig-test.json
15+
tsconfig.json
16+
tslint.json
17+
yarn.lock

docs/classes/_decoder_.decoder.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
[json-type-validation](../README.md) > ["decoder"](../modules/_decoder_.md) > [Decoder](../classes/_decoder_.decoder.md)
1+
[@mojotech/json-type-validation](../README.md) > ["decoder"](../modules/_decoder_.md) > [Decoder](../classes/_decoder_.decoder.md)
22

33

44

docs/interfaces/_decoder_.decodererror.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
[json-type-validation](../README.md) > ["decoder"](../modules/_decoder_.md) > [DecoderError](../interfaces/_decoder_.decodererror.md)
1+
[@mojotech/json-type-validation](../README.md) > ["decoder"](../modules/_decoder_.md) > [DecoderError](../interfaces/_decoder_.decodererror.md)
22

33

44

docs/interfaces/_result_.err.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
[json-type-validation](../README.md) > ["result"](../modules/_result_.md) > [Err](../interfaces/_result_.err.md)
1+
[@mojotech/json-type-validation](../README.md) > ["result"](../modules/_result_.md) > [Err](../interfaces/_result_.err.md)
22

33

44

docs/interfaces/_result_.ok.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
[json-type-validation](../README.md) > ["result"](../modules/_result_.md) > [Ok](../interfaces/_result_.ok.md)
1+
[@mojotech/json-type-validation](../README.md) > ["result"](../modules/_result_.md) > [Ok](../interfaces/_result_.ok.md)
22

33

44

docs/modules/_combinators_.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
[json-type-validation](../README.md) > ["combinators"](../modules/_combinators_.md)
1+
[@mojotech/json-type-validation](../README.md) > ["combinators"](../modules/_combinators_.md)
22

33

44

docs/modules/_decoder_.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
[json-type-validation](../README.md) > ["decoder"](../modules/_decoder_.md)
1+
[@mojotech/json-type-validation](../README.md) > ["decoder"](../modules/_decoder_.md)
22

33

44

docs/modules/_index_.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
[json-type-validation](../README.md) > ["index"](../modules/_index_.md)
1+
[@mojotech/json-type-validation](../README.md) > ["index"](../modules/_index_.md)
22

33

44

docs/modules/_result_.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
[json-type-validation](../README.md) > ["result"](../modules/_result_.md)
1+
[@mojotech/json-type-validation](../README.md) > ["result"](../modules/_result_.md)
22

33

44

package.json

Lines changed: 4 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
2-
"name": "json-type-validation",
3-
"version": "0.0.0",
4-
"description": "",
2+
"name": "@mojotech/json-type-validation",
3+
"version": "1.0.0",
4+
"description": "runtime type checking and validation of untyped JSON data",
55
"keywords": [],
66
"main": "dist/json-type-validation.umd.js",
77
"module": "dist/json-type-validation.es5.js",
@@ -31,16 +31,6 @@
3131
"typecheck": "tsc --lib es2015 --noEmit --strict test/**.ts",
3232
"typecheck:watch": "tsc -w --lib es2015 --noEmit --strict test/**.ts"
3333
},
34-
"config": {
35-
"commitizen": {
36-
"path": "node_modules/cz-conventional-changelog"
37-
},
38-
"validate-commit-msg": {
39-
"types": "conventional-commit-types",
40-
"helpMessage":
41-
"Use \"npm run commit\" instead, we use conventional-changelog format :) (https://github.com/commitizen/cz-cli)"
42-
}
43-
},
4434
"jest": {
4535
"transform": {
4636
".(ts|tsx)": "<rootDir>/node_modules/ts-jest/preprocessor.js"
@@ -63,10 +53,8 @@
6353
"@types/jest": "^22.0.0",
6454
"@types/node": "^8.0.0",
6555
"colors": "^1.1.2",
66-
"commitizen": "^2.9.6",
6756
"coveralls": "^3.0.0",
6857
"cross-env": "^5.0.1",
69-
"cz-conventional-changelog": "^2.0.0",
7058
"jest": "^22.0.2",
7159
"lodash.camelcase": "^4.3.0",
7260
"prettier": "^1.4.4",
@@ -85,7 +73,6 @@
8573
"tslint-config-standard": "^7.0.0",
8674
"typedoc": "^0.9.0",
8775
"typedoc-plugin-markdown": "^1.0.12",
88-
"typescript": "~2.6.2",
89-
"validate-commit-msg": "^2.12.2"
76+
"typescript": "~2.6.2"
9077
}
9178
}

0 commit comments

Comments
 (0)