-
-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathpackage.json
99 lines (99 loc) · 2.83 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
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
{
"name": "@live-codes/go2js",
"version": "0.5.3",
"description": "Compile Go to JS in the browser (using GopherJS)",
"author": "Hatem Hosny",
"license": "BSD 2-Clause 'Simplified' License",
"keywords": [],
"private": false,
"repository": {
"url": "https://github.com/live-codes/go2js"
},
"main": "./build/index.js",
"module": "./build/index.js",
"types": "./build/index.d.ts",
"exports": {
".": {
"import": "./build/index.js",
"default": "./build/index.js"
}
},
"scripts": {
"start": "run-p watch serve",
"serve": "live-server build",
"watch": "nodemon --watch src -e go,ts,html --exec npm run build:lib",
"build": "run-s clean build:* copy:*",
"build:lib": "bash ./scripts/build.sh",
"build:ts": "tsc --emitDeclarationOnly --outFile build/index.d.ts",
"build:api-docs": "typedoc --entryPoints src/index.ts --out build/api-docs --exclude **/*.spec.ts --plugin none",
"copy:pkg": "recursive-copy gopherjs.github.io/playground/pkg build/pkg",
"fix": "run-s fix:*",
"fix:prettier": "prettier src --ignore-path .eslintignore --write",
"fix:eslint": "eslint --fix --esxt js,jsx,ts,tsx .",
"test": "run-s test:*",
"test:lint": "run-s lint:*",
"test:unit": "jest src --passWithNoTests",
"lint:prettier": "prettier src --ignore-path .eslintignore --list-different",
"lint:eslint": "eslint --ext js,jsx,ts,tsx .",
"clean": "recursive-delete build",
"prepush": "run-s fix build test",
"npm:publish": "npm run prepush && npm publish"
},
"dependencies": {},
"devDependencies": {
"@bitjson/typedoc": "0.15.0-0",
"@types/jest": "25.2.3",
"@types/live-server": "1.2.0",
"@types/node": "14.0.4",
"@types/prettier": "2.1.6",
"@typescript-eslint/eslint-plugin": "4.8.2",
"@typescript-eslint/parser": "4.8.2",
"esbuild": "0.12.21",
"eslint": "7.32.0",
"eslint-config-prettier": "8.3.0",
"eslint-plugin-import": "2.24.0",
"eslint-plugin-jest": "24.4.0",
"eslint-plugin-jsdoc": "36.0.7",
"eslint-plugin-prefer-arrow": "1.2.3",
"jest": "27.0.6",
"live-server": "1.2.0",
"mkdirp": "1.0.4",
"nodemon": "2.0.12",
"npm-run-all": "4.1.5",
"prettier": "2.3.2",
"recursive-fs": "2.1.0",
"ts-jest": "27.0.5",
"typedoc": "0.21.6",
"typescript": "4.3.5"
},
"config": {
"commitizen": {
"path": "cz-conventional-changelog"
}
},
"prettier": {
"semi": true,
"singleQuote": true,
"trailingComma": "all",
"printWidth": 100
},
"jest": {
"preset": "ts-jest",
"testEnvironment": "jsdom",
"testPathIgnorePatterns": [
"/node_modules/",
"/build/",
"/pkg/"
],
"collectCoverageFrom": [
"src/**/*.ts",
"!**/build/**",
"!pkg/**"
],
"coverageReporters": [
"json",
"html",
"lcov"
]
}
}