-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathpackage.json
More file actions
70 lines (70 loc) · 2.34 KB
/
package.json
File metadata and controls
70 lines (70 loc) · 2.34 KB
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
{
"version": "2.0.1",
"name": "organism-react-scroll-nav",
"repository": {
"type": "git",
"url": "https://github.com/react-atomic/organism-react-scroll-nav"
},
"description": "A React scroll spy library with flux",
"keywords": [
"react",
"react-component",
"organism",
"atomic-ui"
],
"author": "Hill <hill@kimo.com>",
"license": "MIT",
"dependencies": {
"anchor-lib": "*",
"call-func": "*",
"css-query-selector": "*",
"get-object-value": "*",
"get-random-id": "*",
"get-scroll-info": "*",
"get-window-offset": "*",
"getoffset": "*",
"react-atomic-molecule": "*",
"reshow-constant": "*",
"reshow-hooks": "*",
"reshow-return": "*",
"reshow-runtime": "*",
"smooth-scroll-to": "*"
},
"devDependencies": {
"react": "^19.x",
"react-atomic-organism": "*",
"react-dom": "^19.x",
"reshow-app": "*"
},
"exports": {
"types": "./types/index.d.ts",
"require": "./build/cjs/src/index.js",
"import": "./build/es/src/index.mjs"
},
"types": "./types/index.d.ts",
"main": "./build/cjs/src/index.js",
"module": "./build/es/src/index.mjs",
"scripts": {
"update-compile-sh": "yo reshow:compile-sh",
"webpack": "webpack",
"start": "ws",
"format": "prettier-eslint --write 'src/**/*.js' 'ui/**/*.js*'",
"clean:webpack": "find ./assets -name '*.*' | xargs rm -rf && rm -rf workbox-*.js",
"clean": "find ./build ./types -name '*.*' | xargs rm -rf",
"build:cjs": "BABEL_ENV=cjs babel src -d build/cjs/src --ignore /**/__tests__",
"build:es": "BABEL_ENV=es babel src -d build/es/src --out-file-extension .mjs",
"build:type": "npx -p typescript tsc src/*.js src/**/*.js src/ui/**/*.jsx --jsx react-jsx --declaration --allowJs --emitDeclarationOnly --skipLibCheck --declarationDir types",
"build": "npm run clean && npm run build:cjs && npm run build:es && npm run build:type",
"mochaFor": "mocha -r global-jsdom/register",
"mocha": "npm run mochaFor -- 'build/es/**/__tests__/*.mjs'",
"test:report": "npm run build && npm run mochaFor -- --reporter mocha-junit-reporter --reporter-options mochaFile=./test_output/mocha.xml 'build/es/**/__tests__/*.mjs'",
"test": "npm run build && npm run mocha",
"prepublishOnly": "npm run test"
},
"files": [
"types",
"build",
"package.json",
"README.md"
]
}