-
Notifications
You must be signed in to change notification settings - Fork 5
/
Copy pathpackage.json
59 lines (59 loc) · 1.73 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
{
"name": "portuguese-utils",
"version": "0.2.0",
"description":
"A set of usefull utils for developing Portuguese Web Applications",
"main": "index.js",
"browser": "portuguese-utils.min.js",
"types": "types/index.d.ts",
"scripts": {
"build":
"babel src --out-dir . --ignore **/__tests__,__tests__ && rollup -c && cpx src/types/**/*.d.ts types/",
"precommit": "lint-staged",
"lint": "prettier src/**/*.js -l",
"lint:fix": "prettier src/**/*.js --write",
"prepublish": "NODE_ENV=production npm run build",
"watch":
"rm -rf dist/ && babel -w src --out-dir . --ignore **/__tests__,__tests__",
"test": "jest --coverage",
"test:watch": "jest --watch"
},
"lint-staged": {
"*.{js,json,md}": ["prettier --write", "git add"]
},
"repository": {
"type": "git",
"url": "https://github.com/hugo-fonseca/portuguese-utils"
},
"author": "Hugo Fonseca <[email protected]>",
"license": "MIT",
"devDependencies": {
"babel-cli": "6.26.0",
"babel-jest": "22.4.3",
"babel-plugin-external-helpers": "6.22.0",
"babel-preset-env": "1.6.1",
"babel-runtime": "6.26.0",
"cpx": "1.5.0",
"husky": "0.14.3",
"jest": "22.4.3",
"lint-staged": "^10.2.1",
"prettier": "1.12.1",
"rollup": "0.58.2",
"rollup-plugin-babel": "3.0.4",
"rollup-plugin-node-resolve": "3.3.0",
"rollup-plugin-uglify": "3.0.0"
},
"jest": {
"collectCoverageFrom": ["src/**/*.{js}"],
"verbose": true,
"testMatch": ["<rootDir>/src/**/__tests__/**/*.test.js"],
"transform": {
"^.+\\.js$": "<rootDir>/node_modules/babel-jest"
},
"moduleDirectories": ["node_modules", "src"],
"testURL": "http://localhost/"
},
"dependencies": {
"core-js": "2.5.6"
}
}