opal-js_wrap-three 0.1.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +7 -0
- data/.github/workflows/main.yml +16 -0
- data/.gitignore +16 -0
- data/.rspec +3 -0
- data/.rubocop.yml +13 -0
- data/CHANGELOG.md +5 -0
- data/Gemfile +14 -0
- data/Gemfile.lock +74 -0
- data/LICENSE.txt +21 -0
- data/README.md +56 -0
- data/Rakefile +18 -0
- data/bin/console +15 -0
- data/bin/setup +8 -0
- data/examples/readme/Gemfile +9 -0
- data/examples/readme/example.rb +33 -0
- data/examples/readme/run.sh +3 -0
- data/lib/opal/js_wrap/three/version.rb +9 -0
- data/lib/opal/js_wrap/three.rb +14 -0
- data/lib-opal/js_wrap/three/three.js +41268 -0
- data/lib-opal/js_wrap/three.rb +4 -0
- data/lib-opal/js_wrap.rb +720 -0
- data/opal-js_wrap-three.gemspec +37 -0
- data/package-lock.json +3991 -0
- data/package.json +13 -0
- data/rollup.config.js +24 -0
- data/src/three.mjs +3 -0
- metadata +84 -0
data/package.json
ADDED
@@ -0,0 +1,13 @@
|
|
1
|
+
{
|
2
|
+
"dependencies": {
|
3
|
+
"@babel/plugin-transform-runtime": "^7.16.5",
|
4
|
+
"@babel/preset-env": "^7.16.5",
|
5
|
+
"@rollup/plugin-babel": "^5.3.0",
|
6
|
+
"@rollup/plugin-commonjs": "^21.0.1",
|
7
|
+
"@rollup/plugin-node-resolve": "^13.1.1",
|
8
|
+
"three": "^0.135.0"
|
9
|
+
},
|
10
|
+
"devDependencies": {
|
11
|
+
"babel-plugin-transform-runtime": "^6.23.0"
|
12
|
+
}
|
13
|
+
}
|
data/rollup.config.js
ADDED
@@ -0,0 +1,24 @@
|
|
1
|
+
import { nodeResolve } from '@rollup/plugin-node-resolve';
|
2
|
+
import { babel } from '@rollup/plugin-babel';
|
3
|
+
import commonjs from '@rollup/plugin-commonjs';
|
4
|
+
|
5
|
+
export default {
|
6
|
+
input: 'src/three.mjs',
|
7
|
+
output: {
|
8
|
+
dir: 'lib-opal/js_wrap/three/',
|
9
|
+
format: 'iife'
|
10
|
+
},
|
11
|
+
plugins: [
|
12
|
+
nodeResolve(),
|
13
|
+
commonjs(),
|
14
|
+
babel({
|
15
|
+
"babelHelpers": "runtime",
|
16
|
+
"presets": ["@babel/preset-env"],
|
17
|
+
"compact" : false,
|
18
|
+
"plugins": [
|
19
|
+
"@babel/plugin-transform-runtime"
|
20
|
+
]
|
21
|
+
})
|
22
|
+
]
|
23
|
+
};
|
24
|
+
|
data/src/three.mjs
ADDED
metadata
ADDED
@@ -0,0 +1,84 @@
|
|
1
|
+
--- !ruby/object:Gem::Specification
|
2
|
+
name: opal-js_wrap-three
|
3
|
+
version: !ruby/object:Gem::Version
|
4
|
+
version: 0.1.0
|
5
|
+
platform: ruby
|
6
|
+
authors:
|
7
|
+
- hmdne
|
8
|
+
autorequire:
|
9
|
+
bindir: exe
|
10
|
+
cert_chain: []
|
11
|
+
date: 2021-12-14 00:00:00.000000000 Z
|
12
|
+
dependencies:
|
13
|
+
- !ruby/object:Gem::Dependency
|
14
|
+
name: opal
|
15
|
+
requirement: !ruby/object:Gem::Requirement
|
16
|
+
requirements:
|
17
|
+
- - "~>"
|
18
|
+
- !ruby/object:Gem::Version
|
19
|
+
version: '1.0'
|
20
|
+
type: :runtime
|
21
|
+
prerelease: false
|
22
|
+
version_requirements: !ruby/object:Gem::Requirement
|
23
|
+
requirements:
|
24
|
+
- - "~>"
|
25
|
+
- !ruby/object:Gem::Version
|
26
|
+
version: '1.0'
|
27
|
+
description: "(Mostly) raw wrapper for the Three.js library for Opal"
|
28
|
+
email: []
|
29
|
+
executables: []
|
30
|
+
extensions: []
|
31
|
+
extra_rdoc_files: []
|
32
|
+
files:
|
33
|
+
- ".github/workflows/main.yml"
|
34
|
+
- ".gitignore"
|
35
|
+
- ".rspec"
|
36
|
+
- ".rubocop.yml"
|
37
|
+
- CHANGELOG.md
|
38
|
+
- Gemfile
|
39
|
+
- Gemfile.lock
|
40
|
+
- LICENSE.txt
|
41
|
+
- README.md
|
42
|
+
- Rakefile
|
43
|
+
- bin/console
|
44
|
+
- bin/setup
|
45
|
+
- examples/readme/Gemfile
|
46
|
+
- examples/readme/example.rb
|
47
|
+
- examples/readme/run.sh
|
48
|
+
- lib-opal/js_wrap.rb
|
49
|
+
- lib-opal/js_wrap/three.rb
|
50
|
+
- lib-opal/js_wrap/three/three.js
|
51
|
+
- lib/opal/js_wrap/three.rb
|
52
|
+
- lib/opal/js_wrap/three/version.rb
|
53
|
+
- opal-js_wrap-three.gemspec
|
54
|
+
- package-lock.json
|
55
|
+
- package.json
|
56
|
+
- rollup.config.js
|
57
|
+
- src/three.mjs
|
58
|
+
homepage: https://github.com/hmdne/opal-jswrap-three
|
59
|
+
licenses:
|
60
|
+
- MIT
|
61
|
+
metadata:
|
62
|
+
homepage_uri: https://github.com/hmdne/opal-jswrap-three
|
63
|
+
source_code_uri: https://github.com/hmdne/opal-jswrap-three
|
64
|
+
changelog_uri: https://github.com/hmdne/opal-jswrap-three/blob/CHANGELOG.md
|
65
|
+
post_install_message:
|
66
|
+
rdoc_options: []
|
67
|
+
require_paths:
|
68
|
+
- lib
|
69
|
+
required_ruby_version: !ruby/object:Gem::Requirement
|
70
|
+
requirements:
|
71
|
+
- - ">="
|
72
|
+
- !ruby/object:Gem::Version
|
73
|
+
version: 2.4.0
|
74
|
+
required_rubygems_version: !ruby/object:Gem::Requirement
|
75
|
+
requirements:
|
76
|
+
- - ">="
|
77
|
+
- !ruby/object:Gem::Version
|
78
|
+
version: '0'
|
79
|
+
requirements: []
|
80
|
+
rubygems_version: 3.2.22
|
81
|
+
signing_key:
|
82
|
+
specification_version: 4
|
83
|
+
summary: Wrapper for Three.js
|
84
|
+
test_files: []
|