Skip to content

Commit

Permalink
docs: 优化构建流程
Browse files Browse the repository at this point in the history
  • Loading branch information
ckvv committed Mar 25, 2021
1 parent 8461476 commit a297b29
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 11 deletions.
2 changes: 2 additions & 0 deletions docs/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,3 +3,5 @@
# @ckpack/i18n

The smallest fastest internationalization library

# [Documentation](docs/)
14 changes: 7 additions & 7 deletions docs/classes/default.md
Original file line number Diff line number Diff line change
Expand Up @@ -46,31 +46,31 @@ Name | Type | Description |

**Returns:** [*default*](default.md)

Defined in: [index.ts:8](https://github.com/ckpack/i18n/blob/71614d6/src/index.ts#L8)
Defined in: [index.ts:8](https://github.com/ckpack/i18n/blob/8461476/src/index.ts#L8)

## Properties

### fallbackLocale

**fallbackLocale**: *string*

Defined in: [index.ts:7](https://github.com/ckpack/i18n/blob/71614d6/src/index.ts#L7)
Defined in: [index.ts:7](https://github.com/ckpack/i18n/blob/8461476/src/index.ts#L7)

___

### locale

**locale**: *string*

Defined in: [index.ts:6](https://github.com/ckpack/i18n/blob/71614d6/src/index.ts#L6)
Defined in: [index.ts:6](https://github.com/ckpack/i18n/blob/8461476/src/index.ts#L6)

___

### messages

**messages**: messages

Defined in: [index.ts:8](https://github.com/ckpack/i18n/blob/71614d6/src/index.ts#L8)
Defined in: [index.ts:8](https://github.com/ckpack/i18n/blob/8461476/src/index.ts#L8)

## Methods

Expand All @@ -87,7 +87,7 @@ Name | Type |

**Returns:** *any*

Defined in: [index.ts:36](https://github.com/ckpack/i18n/blob/71614d6/src/index.ts#L36)
Defined in: [index.ts:36](https://github.com/ckpack/i18n/blob/8461476/src/index.ts#L36)

___

Expand All @@ -105,7 +105,7 @@ Name | Type | Description |

**Returns:** *boolean*

Defined in: [index.ts:49](https://github.com/ckpack/i18n/blob/71614d6/src/index.ts#L49)
Defined in: [index.ts:49](https://github.com/ckpack/i18n/blob/8461476/src/index.ts#L49)

___

Expand All @@ -125,4 +125,4 @@ Name | Type |

**Returns:** *any*

Defined in: [index.ts:30](https://github.com/ckpack/i18n/blob/71614d6/src/index.ts#L30)
Defined in: [index.ts:30](https://github.com/ckpack/i18n/blob/8461476/src/index.ts#L30)
7 changes: 3 additions & 4 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,23 +1,22 @@
{
"name": "@ckpack/i18n",
"version": "0.0.6",
"version": "0.0.7",
"description": "The World's smallest fastest internationalization library",
"repository": "https://github.com/ckpack/i18n",
"main": "dist/index.js",
"types": "dist/index.d.ts",
"scripts": {
"test": "jest",
"build": "npm run lint && npm run rollup",
"build": "npm run lint && npm run docs && npm run rollup",
"tsc": "rm -rf ./lib/* && tsc",
"rollup": "rm -rf ./dist/* && rollup --config",
"lint": "eslint . --ext .js,.jsx,.ts,.tsx --fix",
"docs": "rm -rf ./docs/* && typedoc --plugin typedoc-plugin-markdown ./src/index.ts",
"prebuild": "npm run test",
"prepublish": "npm run test"
},
"husky": {
"hooks": {
"pre-commit": "npm test",
"pre-commit": "npm run build && npm test",
"pre-push": "npm test"
}
},
Expand Down

0 comments on commit a297b29

Please sign in to comment.