clustal-js 1.0.3 → 1.0.5

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. package/README.md +1 -1
  2. package/package.json +4 -1
package/README.md CHANGED
@@ -8,7 +8,7 @@ This parses clustal output format
8
8
  ## Usage
9
9
 
10
10
  ```js
11
- import {parse} from '@gmod/clustal'
11
+ import {parse} from 'clustal-js'
12
12
  const file = fs.readFileSync('test.aln', 'utf8')
13
13
  const ret = parse(file)
14
14
  ```
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "clustal-js",
3
- "version": "1.0.3",
3
+ "version": "1.0.5",
4
4
  "main": "dist/index.js",
5
5
  "repository": "cmdcolin/clustal-js",
6
6
  "files": [
@@ -32,9 +32,12 @@
32
32
  "typescript": "^4.1.3"
33
33
  },
34
34
  "scripts": {
35
+ "clean": "rimraf dist",
35
36
  "test": "jest",
36
37
  "lint": "eslint --ext .ts src test",
37
38
  "build": "tsc",
39
+ "prebuild": "npm run clean",
40
+ "preversion": "npm run lint && npm test && npm run build",
38
41
  "postversion": "git push --follow-tags"
39
42
  }
40
43
  }