This repository has been archived by the owner on Mar 31, 2020. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 15
/
package.json
56 lines (56 loc) · 1.68 KB
/
package.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
{
"name": "@waves/signature-generator",
"version": "5.2.1",
"main": "dist/index.js",
"files": [
"dist",
"src",
"libs"
],
"types": "dist/index.d.ts",
"dependencies": {
"@types/crypto-js": "^3.1.43",
"@waves/data-entities": "^1.6.0",
"base64-js": "1.3.0",
"crypto-js": "3.1.9-1"
},
"scripts": {
"postversion": "npm publish",
"postpublish": "git push",
"prepare": "npm run build",
"test": "jest",
"compile": "tsc -p ./",
"prepublish": "npm run test",
"uglify": "npm run uglify-full && npm run uglify-partial",
"uglify-full": "node_modules/.bin/uglifyjs dist/signature-generator.js -o dist/signature-generator.min.js",
"uglify-partial": "node_modules/.bin/uglifyjs dist/signature-generator.partial.js -o dist/signature-generator.partial.min.js",
"build-full": "node_modules/.bin/browserify dist/index.js -s wavesSignatureGenerator --node -o dist/signature-generator.js",
"build-partial": "node_modules/.bin/browserify dist/index.js -u @waves/data-entities --node -s wavesSignatureGenerator -o dist/signature-generator.partial.js",
"build": "npm run compile && npm run build-full && npm run build-partial && npm run uglify"
},
"jest": {
"collectCoverage": true,
"coveragePathIgnorePatterns": [
"/node_modules/",
"/test/"
],
"moduleFileExtensions": [
"ts",
"js"
],
"transform": {
"^.+\\.(ts|tsx)$": "ts-jest"
},
"testMatch": [
"**/test/**/*.test.+(ts|js)"
]
},
"devDependencies": {
"@types/jest": "^23.1.4",
"browserify": "^16.2.2",
"jest": "^23.2.0",
"ts-jest": "^23.10.4",
"typescript": "^3.1.6",
"uglify-js": "^3.4.7"
}
}