mirror of
https://github.com/qntm/fastjson
synced 2026-03-24 07:44:46 +01:00
Compare commits
2 Commits
88528dc01d
...
49322e8dae
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
49322e8dae | ||
|
|
4a09a44e76 |
@ -19,16 +19,14 @@
|
|||||||
],
|
],
|
||||||
"scripts": {
|
"scripts": {
|
||||||
"bench": "node ./benchmarks/index.js",
|
"bench": "node ./benchmarks/index.js",
|
||||||
"unit": "c8 --100 mocha",
|
"unit": "node --test --experimental-test-coverage",
|
||||||
"postpublish": "npm version patch && git push",
|
"postpublish": "npm version patch && git push",
|
||||||
"standard": "standard",
|
"standard": "standard",
|
||||||
"test": "npm run standard && npm run unit"
|
"test": "npm run standard && npm run unit"
|
||||||
},
|
},
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
"benchmark": "^2.1.4",
|
"benchmark": "^2.1.4",
|
||||||
"c8": "^10.1.2",
|
|
||||||
"chance": "^1.1.7",
|
"chance": "^1.1.7",
|
||||||
"mocha": "^11.0.0",
|
|
||||||
"standard": "^17.0.0"
|
"standard": "^17.0.0"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@ -1,6 +1,5 @@
|
|||||||
/* eslint-env mocha */
|
|
||||||
|
|
||||||
import assert from 'node:assert/strict'
|
import assert from 'node:assert/strict'
|
||||||
|
import { describe, it } from 'node:test'
|
||||||
|
|
||||||
import { parse, stringify } from '../src/index.js'
|
import { parse, stringify } from '../src/index.js'
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user