-
Notifications
You must be signed in to change notification settings - Fork 1
/
package.json
executable file
·65 lines (65 loc) · 1.96 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
57
58
59
60
61
62
63
64
65
{
"name": "@plasma/plasmajs",
"version": "0.1.0",
"description": "Talk to plasma API",
"main": "dist/index.js",
"scripts": {
"prepare": "npm run build",
"test": "jest",
"lint": "tslint -c tslint.json src/**/*.ts",
"lint-fix": "tslint -c tslint.json src/**/*.ts --fix",
"build": "tsc -p ./tsconfig.json && cp src/ripemd.es5.js dist/ripemd.js",
"build-web": "mkdir -p dist-web && browserify -o dist-web/plasmajs-offline-build.js -s plasmajs dist/plasmajs-offline-build.js && uglifyjs dist-web/plasmajs-offline-build.js -o dist-web/plasmajs-offline-build.min.js --source-map --compress --mangle",
"clean": "rm -rf dist",
"docs-init": "sh .docs/scripts/init.sh",
"docs-build": "sh .docs/scripts/build.sh",
"docs-serve": "python -m SimpleHTTPServer",
"docs-publish": "sh .docs/scripts/publish.sh"
},
"author": "PlasmaDLT",
"license": "MIT",
"dependencies": {
"@plasma/plasmajs-ecc": "git+https://github.com/plasmadlt/plasmajs-ecc.git",
"babel-runtime": "^6.26.0",
"text-encoding": "^0.6.4"
},
"devDependencies": {
"@types/node": "^11.9.4",
"@types/text-encoding": "^0.0.35",
"babel-cli": "^6.26.0",
"babel-plugin-transform-runtime": "^6.23.0",
"babel-preset-env": "^1.7.0",
"babel-preset-stage-1": "^6.24.1",
"browserify": "^16.2.3",
"jest": "^24.7.1",
"jest-fetch-mock": "^1.6.5",
"json-loader": "^0.5.7",
"ts-jest": "^23.1.4",
"ts-loader": "^4.3.1",
"tslint": "^5.11.0",
"tslint-eslint-rules": "^5.4.0",
"typescript": "^2.9.1",
"uglify-es": "^3.3.9"
},
"jest": {
"automock": false,
"setupFiles": [
"./src/tests/setupJest.js"
],
"moduleFileExtensions": [
"ts",
"tsx",
"js"
],
"transform": {
"^.+\\.(tsx?)$": "ts-jest"
},
"globals": {
"ts-jest": {
"tsConfig": "tsconfig.json"
}
},
"testRegex": "(/src/.*(\\.|/)(test|spec))\\.(jsx?|tsx?)$",
"testEnvironment": "node"
}
}