Repository navigation
Expand file tree
/
Copy pathpackage.json
More file actions
50 lines (50 loc) · 2.5 KB
/
Copy pathpackage.json
File metadata and controls
50 lines (50 loc) · 2.5 KB
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
{
"name": "@voxgig/struct-js",
"version": "0.1.7",
"description": "JSON data structure manipulations — JavaScript port",
"main": "src/struct.js",
"type": "commonjs",
"homepage": "https://github.com/voxgig/struct",
"keywords": [
"voxgig",
"data",
"struct",
"structure",
"json"
],
"author": "",
"repository": {
"type": "git",
"url": "git://github.com/voxgig/struct.git"
},
"scripts": {
"test": "node --enable-source-maps --test test/struct.test.js test/client.test.js",
"test-cov": "rm -rf ./coverage && mkdir -p ./coverage && node --experimental-test-coverage --test-reporter=spec --test-reporter-destination=stdout --test-reporter=lcov --test-reporter-destination=coverage/lcov.info --enable-source-maps --test test/struct.test.js",
"test-some": "node --enable-source-maps --test-name-pattern=\"$npm_config_pattern\" --test test/struct.test.js",
"walk-bench": "node --enable-source-maps --test test/walk-bench.test.js",
"lint": "eslint src test",
"lint:fix": "eslint src test --fix",
"format": "prettier --write \"src/**/*.js\" \"test/**/*.js\"",
"format:check": "prettier --check \"src/**/*.js\" \"test/**/*.js\"",
"doc": "echo doc",
"inject-version": "node -e \"t=['./src/struct.js'],r=require,fs=r('fs'),v=r('./package.json').version,t.map(f=>fs.writeFileSync(f,fs.readFileSync(f,'utf8').replace(/\\/\\/ VERSION: @voxgig\\/struct-js [^\\n]+/, '// VERSION: @voxgig/struct-js '+v)))\"",
"clean": "rm -rf coverage node_modules yarn.lock package-lock.json",
"reset": "npm run clean && npm i && npm test",
"repo-tag": "REPO_VERSION=`node -e \"console.log(require('./package').version)\"` && echo TAG: javascript/v$REPO_VERSION && git commit -a -m javascript/v$REPO_VERSION && git push && git tag javascript/v$REPO_VERSION && git push --tags;",
"repo-publish": "npm run clean && npm i && npm run repo-publish-quick",
"repo-publish-quick": "npm run inject-version && npm run test && npm run doc && npm stage publish --access public --registry https://registry.npmjs.org && npm run repo-tag",
"repo-publish-dry": "npm run clean && npm i && npm run repo-publish-dry-quick",
"repo-publish-dry-quick": "npm run inject-version && npm run test && npm run doc && npm stage publish --dry-run --access public --registry https://registry.npmjs.org"
},
"license": "MIT",
"files": [
"LICENSE",
"src"
],
"devDependencies": {
"@eslint/js": "^10.0.1",
"eslint": "^10.4.1",
"globals": "^17.6.0",
"prettier": "^3.8.3"
}
}