-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
119 lines (119 loc) · 3.3 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
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
{
"name": "@freesewing/i18n",
"version": "0.8.6",
"description": "Translations for the freesewing project",
"author": "Joost De Cock <joost@decock.org> (https://github.com/joostdecock)",
"homepage": "https://freesewing.org/",
"license": "MIT",
"repository": {
"type": "git",
"url": "git+https://github.com/freesewing/i18n.git"
},
"bugs": {
"url": "https://github.com/freesewing/i18n/issues"
},
"main": "dist/index.js",
"module": "dist/index.mjs",
"scripts": {
"patch": "npm version patch -m ':bookmark: v%s' && npm run build",
"minor": "npm version minor -m ':bookmark: v%s' && npm run build",
"major": "npm version major -m ':bookmark: v%s' && npm run build",
"precommit": "npm run pretty && lint-staged",
"test": "mocha tests/*.test.js",
"coverage": "nyc npm test && nyc report --reporter=text-lcov > coverage.lcov && ./node_modules/.bin/codecov",
"clean": "rimraf dist && rimraf tests/dist",
"pretty": "npx prettier --write 'src/*.js'",
"lint": "eslint --fix 'src/*.js'",
"nodebuild": "BABEL_ENV=production rollup -c rollup.js -o dist/index.js -f cjs -m true",
"modulebuild": "BABEL_ENV=develop rollup -c rollup.js -o dist/index.mjs -f es -m true",
"rebuild": "npm run nodebuild && npm run modulebuild",
"build": "npm run clean && npm run nodebuild && npm run modulebuild",
"watch": "rollup -c rollup.js -o dist/index.js -f cjs -m true --watch"
},
"nyc": {
"exclude": [
"dist",
"tests"
]
},
"husky": {
"hooks": {
"pre-commit": "lint-staged"
}
},
"lint-staged": {
"*.{js,json}": [
"prettier --write",
"git add"
]
},
"dependencies": {},
"devDependencies": {
"babel-core": "^6.26.3",
"babel-eslint": "^8.2.6",
"babel-plugin-external-helpers": "6.22.0",
"babel-plugin-istanbul": "4.1.6",
"babel-plugin-syntax-object-rest-spread": "6.13.0",
"babel-plugin-transform-object-rest-spread": "6.26.0",
"babel-preset-env": "1.7.0",
"chai": "^4.1.2",
"chai-string": "1.4.0",
"codecov": "3.0.4",
"eslint": "^5.6.0",
"eslint-config-prettier": "^2.10.0",
"eslint-plugin-prettier": "^2.6.2",
"husky": "^0.14.3",
"lint-staged": "^7.3.0",
"mocha": "^5.2.0",
"nyc": "12.0.2",
"prettier": "^1.14.3",
"rimraf": "^2.6.2",
"rollup": "0.67.3",
"rollup-plugin-babel": "^3.0.7",
"rollup-plugin-commonjs": "^9.1.8",
"rollup-plugin-filesize": "^4.0.1",
"rollup-plugin-json": "^3.1.0",
"rollup-plugin-node-resolve": "^3.4.0",
"rollup-plugin-terser": "^1.0.1",
"rollup-plugin-yaml": "1.1.0"
},
"files": [
"dist/*",
"README.md",
"package.json"
],
"babel": {
"presets": [
[
"env",
{
"modules": false
}
]
],
"env": {
"develop": {
"plugins": [
"external-helpers",
"syntax-object-rest-spread",
"transform-object-rest-spread"
]
},
"production": {
"plugins": [
"external-helpers",
"syntax-object-rest-spread",
"transform-object-rest-spread"
]
},
"test": {
"plugins": [
"external-helpers",
"syntax-object-rest-spread",
"transform-object-rest-spread",
"istanbul"
]
}
}
}
}