This repository has been archived by the owner on Sep 1, 2022. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathpackage.json
67 lines (67 loc) · 2.15 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
{
"name": "network-js",
"version": "0.0.1",
"description": "A utility to emit network connectivity events",
"keywords": [
"network",
"connection",
"connectivity"
],
"main": "lib/index.js",
"files": [
"lib"
],
"repository": "[email protected]:tophat/networkjs.git",
"author": "Top Hat Monocle Corp. <[email protected]>",
"license": "Apache-2.0",
"publishConfig": {
"registry": "https://registry.npmjs.org/"
},
"scripts": {
"clean": "rm -rf ${ARTIFACT_DIR:-artifacts} lib node_modules",
"test": "jest",
"test:ci": "jest --ci",
"test:update": "jest -u",
"test:watch": "jest --watch",
"lint": "eslint .",
"lint:fix": "eslint . --fix",
"lint:ci": "eslint . --format junit --output-file ${ARTIFACT_DIR:-artifacts}/test_results/eslint/eslint.junit.xml",
"build:babel": "rm -rf lib && yarn babel src --out-dir=lib --copy-files --no-copy-ignored --ignore 'src/**/*.test.js'",
"build:package": "mkdir -p ${ARTIFACT_DIR:-artifacts} && yarn pack --filename ${ARTIFACT_DIR:-artifacts}/package.tgz",
"build": "yarn build:babel && yarn build:package",
"deploy": "npm publish ${ARTIFACT_DIR:-artifacts}/package.tgz --access public",
"contrib:add": "all-contributors add",
"contrib:generate": "all-contributors generate",
"contrib:check": "all-contributors check"
},
"devDependencies": {
"@babel/cli": "^7.12.10",
"@babel/core": "^7.12.10",
"@babel/plugin-proposal-nullish-coalescing-operator": "^7.12.1",
"@babel/plugin-proposal-optional-chaining": "^7.12.7",
"@babel/preset-env": "^7.12.10",
"@tophat/eslint-config": "^0.2.1",
"all-contributors-cli": "^6.19.0",
"babel-eslint": "^10.1.0",
"babel-jest": "^26.6.3",
"enzyme": "^3.11.0",
"eslint": "^7.15.0",
"eslint-config-prettier": "^7.0.0",
"eslint-plugin-jest": "^24.1.3",
"eslint-plugin-prettier": "^3.3.0",
"husky": "^5.0.6",
"jest": "^26.6.3",
"jest-junit": "^12.0.0",
"lint-staged": "^10.5.3",
"prettier": "^2.2.1"
},
"engines": {
"node": ">=12.16.1"
},
"lint-staged": {
"*.js": [
"yarn eslint",
"yarn jest --findRelatedTests"
]
}
}