-
Notifications
You must be signed in to change notification settings - Fork 15
/
Copy pathpackage.json6
83 lines (81 loc) · 2.26 KB
/
package.json6
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
// source file for package.json
// use npm build to produce normalized package.json file.
{
name: "json-6",
version: "1.1.4",
description: "JSON for the ES6 era.",
keywords: [
"json",
"es6"
],
author: "d3x0r <d3x0r@github.com>",
contributors: [
],
module: "dist/index.mjs",
main: "lib/json6.js",
bin: "lib/cli.js",
browser: "dist/index.js",
files: [
"dist/",
"lib/"
],
dependencies: {},
devDependencies: {
'@babel/preset-env': 'latest',
'@rollup/plugin-babel': 'latest',
'@rollup/plugin-commonjs': 'latest',
'@rollup/plugin-node-resolve': '^7',
"@rollup/plugin-strip": 'latest',
acorn:'latest',
chai: 'latest',
'core-js': 'latest',
eslint: 'latest',
husky: 'latest',
'lint-staged': 'latest',
mocha:'latest',
nyc:'latest',
rollup: 'latest',
'rollup-plugin-terser': 'latest',
},
nyc: {
statements: 100,
branches: 100,
functions: 100,
lines: 100,
ignore-class-method: ['log'],
reporter: [
'lcov',
'text'
]
},
scripts: {
prepack: "npm run test-lite",
lint: "eslint --cache .",
build: "node ./lib/cli.js -c package.json6 && rollup -c",
'mocha-lite': 'mocha --require chai/register-expect --experimental-loader=./lib/import.mjs --require ./lib/require.js ',
mocha: 'mocha --require chai/register-expect --require ./lib/require.js --experimental-loader=./lib/import.mjs --recursive',
'nyc-lite': 'nyc npm run mocha-lite',
nyc: 'nyc npm run mocha',
'test-lite': 'npm run lint && npm run build && npm run nyc-lite',
test: 'npm run lint && npm run build && npm run nyc'
},
homepage: "http://npmjs.org/package/json-6/",
engines: {
node: ">=10.0.0"
},
bugs: "https://github.com/d3x0r/json6/issues",
license: "MIT",
repository: {
type: "git",
url: "https://github.com/d3x0r/json6"
},
husky: {
hooks: {
'pre-push': 'npm run test-lite',
'pre-commit': 'lint-staged'
}
},
'lint-staged': {
'*.js': 'eslint --cache --fix'
}
}