forked from decidim/decidim
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
67 lines (67 loc) · 1.87 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
{
"name": "a-decidim-app",
"description": "Note: this is not a package, just the dependencies for the project in the dev environment.",
"private": true,
"engines": {
"node": ">=16.9.1",
"npm": ">=7.21.1"
},
"files": [
"packages/**/*"
],
"browserslist": [
"extends @decidim/browserslist-config"
],
"scripts": {
"lint": "eslint -c .eslintrc.json --no-error-on-unmatched-pattern --ext .js,.jsx decidim-*",
"markdownlint": "markdownlint '**/*.md'",
"stylelint": "stylelint decidim-*/**/*.scss",
"test": "jest",
"test:watch": "npm run test -- --watch",
"test:ci": "npm run lint && npm run test"
},
"stylelint": {
"extends": "@decidim/stylelint-config"
},
"jest": {
"testURL": "https://decidim.dev/",
"setupFiles": [
"<rootDir>/decidim-core/spec/js/entry_test.js",
"raf/polyfill"
],
"moduleFileExtensions": [
"js"
],
"moduleDirectories": [
"node_modules",
"decidim-core/app/packs"
],
"moduleNameMapper": {
"\\.(scss|css|less)$": "identity-obj-proxy"
},
"transform": {
"\\.yml$": "yaml-jest",
"\\.js$": "babel-jest"
},
"testRegex": "\\.(test|spec)\\.js$"
},
"dependencies": {
"@decidim/browserslist-config": "file:packages/browserslist-config",
"@decidim/core": "file:packages/core",
"@decidim/elections": "file:packages/elections",
"@decidim/webpacker": "file:packages/webpacker"
},
"devDependencies": {
"@decidim/dev": "file:packages/dev",
"@decidim/eslint-config": "file:packages/eslint-config",
"@decidim/stylelint-config": "file:packages/stylelint-config",
"babel-jest": "^26.6.3",
"concat-stream": "^2.0.0",
"enzyme": "^3.11.0",
"enzyme-adapter-react-16": "^1.15.4",
"jest": "^26.6.3",
"jest-localstorage-mock": "^2.4.3",
"react-test-renderer": "^16.0.0",
"yaml-jest": "^1.0.5"
}
}