ducks
Version:
🦆🦆🦆 Ducks is a Reducer Bundles Manager that Implementing the Redux Ducks Modular Proposal with Great Convenience.
11 lines (7 loc) • 365 B
text/typescript
import { test } from 'tstest'
import { packageJson } from './package-json.js'
test('Make sure the packageJson is fresh in source code', async t => {
const keyNum = Object.keys(packageJson).length
t.equal(keyNum, 0, 'packageJson should be empty in source code, only updated before publish to NPM')
})