Skip to content

Commit 1d30b6d

Browse files
author
SeungMin Lee
committed
Update README.md and package.json
1 parent 63a9c02 commit 1d30b6d

File tree

2 files changed

+15
-15
lines changed

2 files changed

+15
-15
lines changed

README.md

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,26 +1,26 @@
1-
# codechain-primitives-js [![npm version](https://badge.fury.io/js/codechain-primitives.svg)](https://badge.fury.io/js/codechain-primitives) [![Build Status](https://travis-ci.org/CodeChain-io/codechain-primitives-js.svg?branch=master)](https://travis-ci.org/CodeChain-io/codechain-primitives-js) [![codecov](https://codecov.io/gh/CodeChain-io/codechain-primitives-js/branch/master/graph/badge.svg)](https://codecov.io/gh/Codechain-io/codechain-primitives-js)
1+
# foundry-primitives-js
22

3-
JavaScript functions and classes for CodeChain primitives
3+
JavaScript functions and classes for Foundry primitives
44

55
## Installing a package
66

77
```sh
88
# npm
9-
npm install codechain-primitives
9+
npm install foundry-primitives
1010
# yarn
11-
yarn add codechain-primitives
11+
yarn add foundry-primitives
1212
```
1313

1414
## Getting started
1515

1616
```javascript
1717
// Using require
18-
var primitives = require("codechain-primitives");
18+
var primitives = require("foundry-primitives");
1919
var H256 = primitives.H256;
2020
var blake256 = primitives.blake256;
2121

2222
// Using import
23-
import { blake256, H256 } from "codechain-primitives";
23+
import { blake256, H256 } from "foundry-primitives";
2424
```
2525

2626
## Functions
@@ -46,4 +46,4 @@ import { blake256, H256 } from "codechain-primitives";
4646

4747
## API Documentation
4848

49-
[https://codechain-io.github.io/codechain-primitives-js](https://codechain-io.github.io/codechain-primitives-js)
49+
[https://codechain-io.github.io/foundry-primitives-js](https://codechain-io.github.io/foundry-primitives-js)

package.json

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
2-
"name": "codechain-primitives",
3-
"version": "1.0.4",
4-
"description": "JavaScript classes for CodeChain primitives",
2+
"name": "foundry-primitives",
3+
"version": "1.0.0",
4+
"description": "JavaScript classes for Foundry primitives",
55
"engines": {
66
"node": ">=8"
77
},
@@ -18,22 +18,22 @@
1818
"pretest": "yarn build",
1919
"posttest": "yarn lint",
2020
"codecov": "node_modules/.bin/remap-istanbul -i coverage/coverage-final.json -o coverage/coverage-remapped.json && codecov -f coverage/coverage-remapped.json",
21-
"docs": "yarn typedoc --out gh-pages/$npm_package_version --name \"codechain-primitives-js $npm_package_version\" --theme minimal --mode file",
22-
"docs:prepare": "[ -d 'gh-pages' ] || git clone -b gh-pages git@github.com:CodeChain-io/codechain-primitives-js.git gh-pages && cd gh-pages && git pull"
21+
"docs": "yarn typedoc --out gh-pages/$npm_package_version --name \"foundry-primitives-js $npm_package_version\" --theme minimal --mode file",
22+
"docs:prepare": "[ -d 'gh-pages' ] || git clone -b gh-pages git@github.com:CodeChain-io/foundry-primitives-js.git gh-pages && cd gh-pages && git pull"
2323
},
2424
"repository": {
2525
"type": "git",
26-
"url": "git+https://github.com/CodeChain-io/codechain-primitives-js.git"
26+
"url": "git+https://github.com/CodeChain-io/foundry-primitives-js.git"
2727
},
2828
"keywords": [
2929
"CodeChain"
3030
],
3131
"author": "CodeChain Team <hi@codechain.io>",
3232
"license": "ISC",
3333
"bugs": {
34-
"url": "https://github.com/CodeChain-io/codechain-primitives-js/issues"
34+
"url": "https://github.com/CodeChain-io/foundry-primitives-js/issues"
3535
},
36-
"homepage": "https://github.com/CodeChain-io/codechain-primitives-js#readme",
36+
"homepage": "https://github.com/CodeChain-io/foundry-primitives-js#readme",
3737
"devDependencies": {
3838
"@types/crypto-js": "^3.1.43",
3939
"@types/jest": "^23.3.2",

0 commit comments

Comments
 (0)